From: matz@... (Yukihiro Matsumoto) Date: 2002-07-11T00:24:37+09:00 Subject: Re: String#split converts string args to regexes -- ? Hi, In message "Re: String#split converts string args to regexes -- ?" on 02/07/10, Tom Sawyer writes: |and, if implemented without regexps, could easily boost performance, |which IMHO is an important bonus considering speed is probably the |primary site against ruby in comparison to perl and python. regex is highly optimized for searching. search using regex (e.g. str.index(/pat/)) is almost always faster than search using strings (e.g. str.index("pat")). matz.