in reply to Re: is split optimized?
in thread is split optimized?

Excellent -- if I read your output correctly, regex is noticably faster than split if all I want is the first field. Thanks for your helpful response. You anticipated my followup question, and you did so with code, which will enable me to test my hypothesis myself next time. "Teach a man to fish..." Thanks!

Replies are listed 'Best First'.
All over this
by gryng (Hermit) on Jul 14, 2000 at 06:36 UTC
    At the risk of appearing to be all over this thread, I wanted to say "You're welcome". (I would have just /msg'd but /msg'ing to Anonymous monks doesn't work too well).