When
· Naughties
· · 2008
· · · June
· · · · 10 (1 entry)

RX and 1.9 and Pain · This fragment is mostly a note to myself and placeholder and might prove useful to someone slashing through the XML undergrowth with bleeding-edge Ruby. Briefly: I revived my “RX” Ruby tokenizer (see <a href='/ongoing/When/200x/2006/11/09/Optimizing-Ruby'>here</a>, <a href='/ongoing/When/200x/2006/11/15/RS-Redux'>here</a>, and <a href='/ongoing/When/200x/2006/11/23/RX-plus-YARV'>here</a>) to contribute to Antonio Cangiano’s <a href='http://antoniocangiano.com/2008/06/01/help-me-create-the-ruby-benchmark-suite/'>proposed Ruby benchmark suite</a>, which I think is a Really Good Idea. I had a bit of pain getting the code to run on both Ruby 1.8 and 1.9, and then when I tried sanity-checking the output by comparing it to REXML on 1.9, REXML blew chunks. There are, apparently, <em>issues</em> about REXML and 1.9. Read on for details in the unlikely event that you care about any of this ...
[3 comments]  
author · Dad · software · colophon · rights
Random image, linked to its containing fragment

By

I am an employee of Amazon.com, but the opinions expressed here are my own, and no other party necessarily agrees with them.

A full disclosure of my professional interests is on the author page.