|laziness, impatience, and hubris|
Re^3: To Findout Prime numberby andreas1234567 (Vicar)
|on Feb 11, 2008 at 06:57 UTC||Need Help??|
nowadays it's much faster to use substrI re-ran your benchmark on Linux 2.6.9 i686, perl v5.8.5 built for i386-linux-thread-multi. The difference was much less than what you encountered.
On Linux 2.6.22-10-386 i686, perl v5.10.0 (different hardware than above):
Update Mon Feb 11 12:13:38 CET 2008: Added perl 5.10 benchmark on lodin's request.