in reply to Re^2: Limit the size of a hash (beware of 'add one and (re)sort and discard' algorithms)in thread Limit the size of a hash
Yes. Your hand-coded insertion sort fairs much better than those using the built-in sort.