in reply to Re^3: performance of counting keys in a big hash
in thread performance of counting keys in a big hash
I'm just in the process of tidying up my comment by putting in some code that actually works, as opposed to that I first thought of! :-).
I think reversing the tests is probably enough proof; I don't believe separate scripts would prove anything extra.
I am using Benchmark to compare my results instead of using manual timing.
If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)