Charles Oliver Nutter wrote:
Ola Bini wrote:
Hi
During the last days I've revived my REJ port of the MRI regular
expression engine and integrated with trunk. The result is available
in the jruby-reg branch. I'm mailing this out now, because at this
point the engine runs the full JRuby test suite - plus several tests
that JRuby trunk doesn't handle (for example, see the
test/test_utf8_regexp.rb file in the branch).
Regarding performance - right now some benchmarks comes out better
and some come out slower. I'm now embarking on the next part of the
journey - which is to get this engine as fast or faster than JRegex.
The point being to improve compatibility, get closer to MRI
performance characteristics, and so on.
If someone feels like helping out with optimizing, please tell me.
The code is right now a very straight port from the C code, and not
really that readable. That will improve with time.
Is it possible to get this merged into trunk as a third configurable
regex option? That would allow us to work on it side-by-side with
jregex, and then just flip a switch when it's done.
- Charlie
Not really. All gains would disappear from that, including heightened
compatibility in most String methods. I don't think that's a good approach.
Cheers
--
Ola Bini (http://ola-bini.blogspot.com)
JRuby Core Developer
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)
"Yields falsehood when quined" yields falsehood when quined.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email