Benchmark: timing 10000 iterations of method, tiehash... method: 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU) @ 666666.67/s (n=10000) (warning: too few iterations for a reliable count) tiehash: 0 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 CPU) @ 161290.32/s (n=10000) (warning: too few iterations for a reliable count) Rate tiehash method tiehash 161290/s -- -76% method 666667/s 313% --