However, this is also the nature of premature and micro-optimizations. The point of the benchmark was simply to show that assuming keys/values is slower than each is not always correct. Any decisions beyond that should only be measured based on actual code, with a profile, and an indication that this part of the code is the bottleneck.
|Replies are listed 'Best First'.
Re^5: keys and values order on a hash
by BrowserUk (Patriarch) on Jul 11, 2011 at 19:15 UTC