Benchmark: timing 100 iterations of grepit, hashit... grepit: 19 wallclock secs (19.36 usr + 0.03 sys = 19.39 CPU) @ 5.16/s (n=100) hashit: 28 wallclock secs (27.84 usr + 0.04 sys = 27.88 CPU) @ 3.59/s (n=100) the number is 0.359661571026372 Grepit found the number Hashit found the number