brianmario / yajl-ruby

A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)
http://rdoc.info/projects/brianmario/yajl-ruby
MIT License
1.48k stars 169 forks source link

Switch to using Ruby's allocators internally #185

Closed brianmario closed 6 years ago

brianmario commented 6 years ago

These give Ruby's GC a chance to manage its heap while yajl itself is working internally. This already happens with the Ruby C APIs we're using on the yajl-ruby side of our code.