http://www.perlmonks.org?node_id=1025836


in reply to Re^9: Curious find while comparing grep, map, and smart match...
in thread Curious find while comparing grep, map, and smart match...

Wow, screaming fast! Makes sense because of the nature of hashes: no duplicates. Thanks for the info.

Rate grepGen mapGen smartGen hashGen grepGen 29.8/s -- -3% -89% -97% mapGen 30.6/s 3% -- -89% -97% smartGen 278/s 833% 807% -- -75% hashGen 1096/s 3583% 3480% 295% --