Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.765 kB
;; -*- mode: outline; outline-regexp: " *[-\+]"; indent-tabs-mode: nil -*-
^c^d hide subtree
^c^s show subtree
- options same as dump
- keep track of nesting
- calls into a writer
- write to string function or write to stream
- get string, return nil if stream
- StreamWriter
- new(stream) optional stream, if nil then write to string buffer
- StringWriter
- to_s
- return string if
Tried a separate thread for the parser and the results were poor. The parsing is 10% to 15% of the total so splitting
ruby calls and c does not help much and the overhead of swapping data was too high. It was not possible to split ruby
calls into both threads due to not getting a lock on the ruby environment for object creation.
Jump to Line
Something went wrong with that request. Please try again.