Commit cbd1224
committed
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 50%.1 parent 6447b45 commit cbd1224
0 commit comments