On Dec 8, 2006, at 6:51 PM, Theodore H. Smith wrote:

I had a test with ElfData.

The closest I can get to the perl version, is taking 72 seconds for ElfData, but 52 seconds for perl.

I'm assuming my Mac is slower than Kem's ;) It's an old iMac G5.

I'm not going to publish the ElfData version yet, as it's a bit under powered. I had hoped to beat perl, but obviously not. Still, the ratio is better, I am at least around 3x faster than the ratio Kem reported, even if not faster than perl.

I would suggest, that perl has some really amazingly well optimised string functions or just a very good optimiser. I'm not sure what is taking ElfData longer than perl, but I'd like to know!


Simple enough -- <http://www.perl.com/download.csp#sourcecode>. As for this example, I'd be looking at I/O and the execution speed of the loops. Studying the object code might be interesting.


Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to