Re: [MacRuby-devel] StringScanner Performance

2012-04-20 Thread Sylvester Keil
you're absolutely right, this issue is related. So we would require a Regular Expression method that matches only at the beginning of the string and does not populate Regexp.last_match. On Apr 19, 2012, at 3:58 PM, Watson wrote: > Hi, > > I think your report is relating with http://www.macru

Re: [MacRuby-devel] StringScanner Performance

2012-04-19 Thread Watson
Hi, I think your report is relating with http://www.macruby.org/trac/ticket/1341 Thanks 2012/4/19 Sylvester Keil : > Dear all, > > while debugging performance issues for a gem (bibtex-ruby) I noticed that > MacRuby's StringScanner implementation creates new Regular Expression objects > every