On Wed, Sep 19, 2012 at 2:40 PM, Roger Pack <[email protected]> wrote: >> Being a Ruby shop we try to use Ruby everywhere but when it does come >> to grinding through logfiles (some several gigs in size) we had to go >> with Perl. The string processing and regex matching was so much >> faster. We couldn't get Ruby even close :( Speed was essential, we >> couldn't just sit around and wait for the process to complete. > > https://github.com/michaeledgar/ruby-boost-regex > might be useful, if it ends up being regex's that are the slowdown :)
Interesting. Thank you for the pointer! Too bad it does not support encodings which is probably a show stopper for inclusion in the core lib. At least as standard regexp engine it's not usable. Apparently boost regexp's support Unicode but I guess adjustment need some effort - and then the question is whether performance gains are still so big. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
