From: Kem Tekinay <[EMAIL PROTECTED]>
Date: Wed, 20 Dec 2006 16:17:12 -0500
On 12/20/06 4:12 PM, Alberto Paderno at [EMAIL PROTECTED] wrote:
Then you could even make a program that merely output what you
already know
is the output for the input file you used: you would prove your
program is
even faster than any optimized version wrote in C++.
FYI,
You didn?t quote anybody, so it?s hard to know what you are
responding to.
Probably the fact that your optimised RB version didn't call
IsNumeric, it just used an IsOdd boolean :) That's a total cheat.
Well, at least that's one of the code sources you posted to the list.
I dunno if that's where you obtained the speed result from.
Also, you never told us whatplatform you were testing on. I'm
assuming MacIntel as when I tested on a G5, my ElfData version was
4-5x faster than perl. I'll be making big improvements to the Mac
Intel compiler settings for my plugin, and also improving my
ElfDataFields class to be faster. That should give me at least 2x
speed boost over perl on MacIntel using my plugin.
Then I'll be writing an ElfDataStream class, to do all that the RB
version did with the same amount of code. This should give me at
least 4x speed boost over perl on MacIntel. AND it will make using
ElfData easier for all users in the future. It could be higher
though, as I'll be using a double-buffered approach to reading, and I
have no idea what effect this will have on the speed! The writes will
also be heavily optimised.
So I really do thank you for this test, it's helped inspire some new
ideas in me :) It was a shame to have all that speedy ElfData
functions and then to make newbies need to write their own streaming
classes to cooperate with ElfData. ElfData was fast when doing pure
string, no file IO stuff, or fast if you knew how to write kinda
complex streaming code yourself.
Now it'll be fast using easy code with or without streaming, file IO
or just in RAM, or whatever. That's the idea.
--
http://elfdata.com/plugin/
_______________________________________________
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>