From: Tom Sawyer Date: 2002-07-11T03:09:29+09:00 Subject: Re: String#split converts string args to regexes -- ? On Wed, 2002-07-10 at 11:28, ts wrote: > Your string as len == 1 yes, quite. that's the only way to get split to not convert to a regular expression, and thus see the difference between the two. On Wed, 2002-07-10 at 11:28, ts wrote: > >>>>> "T" == Tom Sawyer writes: > > T> how is this possible? split is around 4x times faster with a string, but > T> index is 4x as slow? > > Your string as len == 1 > > > Guy Decoux > -- ~transami "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin