Avoid re-decoding an incomplete number on every ResumableParser chunk by pocke · Pull Request #1051 · ruby/json
JSON::ResumableParser re-decodes an incomplete number on every chunk it receives, so a long number delivered in small chunks is disproportionately slow to parse -- the work is quadratic (a bit wors...