Derek Chesterfield pisze:
> Hmm. Simplifying my test script further, I am not sure that Regexp is  
> the problem at all!
> With the each_line block, my script take more than TWICE as long in  
> 1.9 vs. 1.8.
> But without the each_line block, but keeping the Regexp, it is 10%  
> FASTER.
> 

Oops, It seems you're right, just split the original logfile and use 
each instead of each_line and it gets a whole lot faster (the 
rb_str_each_line is encoding aware). Anyways, it doesn't change the fact 
that Oniguruma might be opted here as well.

lopex