Hello again.
With the major performance improvements in RubyString due to Thom's
StringBuffer implementation the next stopgap have been fixed. JRuby just
wooshed through 126k lines in less than a minute doing regexps and regexp
subs on each line. VERY nice. (Just think what we could do with thread
unsafe StringBuilder from Tiger instead...)
But anyway, next problem: YAML.
It seems 126k lines of YAML definition is to much for our poor Ruby
implementation of it. It dies with an OutOfMemoryError.
So my thinking is this: is there anyone who knows anything about the
current implementation? As far as I can find out, it depends quite heavily
on Racc-stuff. A first way to get this working would be to just do a
straightforward Ruby-to-Java translation of yaml.rb, but this is
problematic due to the Racc-stuff. So, any leads here?
Regards
Ola Bini
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel