in reply to Re^4: Fast file searching
in thread Fast file searching

I like the Benchmark module for such comparisons. Also, wallclock times can be a misleading metric. There's nothing preventing your thread of execution from being underprioritized for a really long time, thus inflating the wallclock time and leading you to draw false conclusions. More commonly, you'll get inconsistent wallclock times between runs, but consistent CPU times. I'm all about consistent results, and thus will use CPU time every time.

thor

Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come