Reverse

new topic     » goto parent     » topic index » view thread      » older message » newer message

Rob and Hawke,
Speed isn't every thing. Remember what Rob said earlier. If the sequence is
big you are going to use a lot of memory forcing Euphoria to use virtual
memory which is much slower. And While Rob's latest one is faster than is
other one it still needs that memory. You will have a second sequence of
pointers. 24 + 4 * length(s) bytes of memory wasted.

Actually Rob since Euphoria will only allocate pointer, unless it is a
sequence of integers then  you would probablely be better of writing it in C
and do the pointer copying that way.

Now play nicely.
--------------------
Sincerely,
Mathew Hounsell

Mat.Hounsell at Excite.Com

Brain Washing : "Strings are good. Strings are your friends. You want
strings."


_______________________________________________________
Get your free, private e-mail at http://mail.excite.com/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu