Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make JSON::Parser initialization faster
Remove calls to rb_funcall, don't go back in to interpreter if not necessary. Also remove unnecessary calls to rb_respond_to(val) when val is nil. Speedup of JSON.parse when parsing small amount of data in a tight loop is up to 40%.
- Loading branch information