Re: Sorted Hash



palexvs@xxxxxxxxx wrote:
I filled hash and then printed it (sorted by key):
[...]
foreach my $k (sort keys %hs) { print "$k $hs{$k}\n"; }

key - string ([0-9A-F]{72}), 50K records.
How do it more effective?

Your algorithm as posted should be 100% effective or are you observing any
unsorted keys?

jue


.