in reply to Re^3: keys and values order on a hash
in thread keys and values order on a hash
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 | |
by Somni (Friar) on Jul 11, 2011 at 19:30 UTC | |
by BrowserUk (Patriarch) on Jul 11, 2011 at 20:11 UTC |