Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (21 sloc) 0.864 kb
;; -*- mode: outline; outline-regexp: " *[-\+]"; indent-tabs-mode: nil -*-
^c^d hide subtree
^c^s show subtree
- to_json
- rails 2.3.3 introduced as_json
- ignore_to_json option
- remove current rails hack
- 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.