summaryrefslogtreecommitdiff
path: root/ext/json/parser
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-11-05 19:57:46 +0100
committerHiroshi SHIBATA <[email protected]>2024-11-26 15:11:05 +0900
commitee0de3fd4e02f95f42fd3fe9cb18bcfe3e7e2bf1 (patch)
tree4063efad59cae2b049ad2261e86bcffba78aca6e /ext/json/parser
parent519701657fad62799045f6230f79de1941cc3c76 (diff)
[ruby/json] JSON.dump: write directly into the provided IO
Ref: https://github.com/ruby/json/issues/524 Rather than to buffer everything in memory. Unfortunately Ruby doesn't provide an API to write into and IO without first allocating a string, which is a bit wasteful. https://github.com/ruby/json/commit/f017af6c0a
Diffstat (limited to 'ext/json/parser')
0 files changed, 0 insertions, 0 deletions