Funky xml log

25 Sep 2012

I had some trouble where a simple parser would take a bit of time. Turns out that there were many ways of improving this performance. I rewrote it to use the xml reader instead to be able to do these improvements. Some funky bugs got squished. The reader is a bit low level compared to niceties such as Nokogiri (in hindsight, maybe I should have been using). By using this class I could avoid some funkiness of XmlDocument having to cope with weird xml at the expense of having less appealing code: LogEntryParser.



Do you want to send a comment or give me a hint about any issues with a blog post: Open up an issue on GitHub.

Do you want to fix an error or add a comment published on the blog? You can do a fork of this post and do a pull request on github.