-----Original Message-----
>From: [EMAIL PROTECTED]
[mailto:realbasic-nug->[EMAIL PROTECTED] On Behalf of Kem
Tekinay


>Imagine my surprise when it took RB a minute to do what perl did in 15
>seconds. I'm not surprised that perl is faster, only HOW much faster it is.
>My argument was going to be, "see, difference wasn't that much, and RB is
>much easier to read," but these results make it no contest.
>
>So my question is: Why is RB so much slower? What is it doing that's making
>the difference? And could I do something to close the gap?

REALbasic is really slow on handling functions because it continues to
create new instances of strings all the times you make operations on them.
If you want to make your code faster, you could use the ElfData plug-in
which has some classes to handle strings faster. You can find it on
http://www.elfdata.com/plugin/: it runs on all platforms, and it's free to
use if you just use it to make some code test, or to make some GPL licensed
code.
Read well how to use it correctly, and to avoid conversion from ElfData to
string which would be worst than to use just strings.

I hope that can help you.
--
~Alberto Paderno

_______________________________________________
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