On Wed, 19 Apr 2006, Ola Bini defenestrated me: > Hi everybody. > > The Ruby YAML version is going along really good. I now have a complete, > working Ruby Scanner. It fixes everything in the YAML 1.1-spec, except > for the Unicode stuff. It also have no problems with the gemspec yaml > string, which is quite big... > Now, this is a work in progress, but feel free to check it out, see if > your documents doesn't produce an error. If they do, please tell me! > > Running this inside JRuby works, but is painfully slow. When everything > works, I'll have a look and see if I can find what is the problem. The C > Ruby version is something like 2 magnitudes faster. Not good. > > But anyway, enjoy. I'll start with the parser stuff next, and keep you > posted.
Swweeeeet. I will take a look this evening. If things are really really bad we can take a second pass and convert it to pure Java (isn't it fun to port). This will get back over a magnitude. Before contemplating that there may be another StringBuffer-like thing that we will discover that may make it ok. The comparison that would most interest me would be comparing it against the other pure Ruby YAML parser. Of course, I guess unless you know how to slurp racc's lexer we will have to wait for your parser work. -Tom -- + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel