Re: DLLs, a better split()

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

Hawke wrote:
> i put split2 in there so you could see the actual algorithm...
> it could actually be made into 1 line, but it would be slower
> since you would have to call find() twice.
> hope this helps...
> --Hawke'
errrr.... a line i intended in this close somehow became vaporware.
One other thing about my split.ex is that it's more
tuned to strings (1 dimension sequences) as that is what
your code seemed to me was doing...
I didn't read your code, however, with a very fine-toothed comb.
If that is not what you needed for your split, then jiri's
reply would be more appropriate.  If you need simple
string splitting, I think mine might run faster... not sure.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu