in reply to parsing textfile is too slow
That's a totally wasted op, unless I'm missing something.$unihan{$_}[82] = $unihan{$_}[82];
keys will create a new list containing all the keys. If your hash is large, this can be an expensive proceedure. You might also try something similar to replace the join, depending on the sizes of things you're dereferencing.foreach (keys %unihan) { to: while ( ($key,$val) = each %unihan) { }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: parsing textfile is too slow
by QM (Parson) on Aug 17, 2005 at 18:27 UTC | |
by cowboy (Friar) on Aug 17, 2005 at 18:32 UTC |