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!

Also, the ElfData version takes a lot more code than the perl version, unfortunately. Still once again it is faster (ratio wise) than results Kem suggested.

I'll see if I can guess what is slowing ElfData down, then publish my version even if it slower than perl, tomorrow.

Through this testing, I did get some nice ideas on how I can speed up ElfDataFields without making it harder to use, so that's a good thing.

_______________________________________________
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