Derek Chesterfield
1/15/2008 3:15:00 PM
On 14 Jan 2008, at 17:03, Thomas Hurst wrote:
> * Derek Chesterfield (groups@dezuk.com) wrote:
>> On 13 Jan 2008, at 02:15, Marcin Miel??y??ski wrote:
>>> Ruby 1.9 uses Oniguruma which is an encoding agnostic engine.
>> So Ruby 1.9.0's Regexp is slower than 1.8's?
>
> I wouldn't be too worried; I've used it for well over a year and not
> really noticed any significant performance issues. In the worst case,
> alternative engines could always be supported through extensions.
In your usage maybe. But in my experiments with 1.9, ALL my scripts
[all of them using Regexp extensively to parse files] are a *minimum*
of 40% slower, and the simple script in my original post takes 70%
more time to run.