On 28 Feb 2005, at 21:22, Theodore H. Smith wrote:
Faster than countfields? I'd actually doubt it myself, to be honest.
I'll probably test this at somepoint, however. Just to make sure. It
may be that this result you got only applies in certain cases.
Just to make it clear, the reason I doubt that mine is 100x faster, is
because countfields doesn't have much room to go wrong. I mean, a
simple byte counting loop is hard to beat, and easy to code.
I've got a byte counter in ElfDataCharSet.Count, although that actually
tests for anything in a certain charset not just one byte.
Also, even lets say mine were 100x faster (Which is possible if RS
didn't code theirs efficiently), this is such an easy fix for RS, I
wouldn't even really think it worth mentioning.
Gains which can disappear tomorrow are sandy ground to build a house
on...
--
Theodore H. Smith - www.elfdata.com/plugin/ - www.elfdata.com/forum/
ElfData: Industrial strength string processing, made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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>
|