summaryrefslogtreecommitdiff
path: root/lib/json
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-10-29 15:03:42 +0100
committerHiroshi SHIBATA <[email protected]>2024-11-01 13:04:24 +0900
commit5dc3b15b3c2c2f2c2cc5f1522f865b56574ae63f (patch)
tree4614a66afbb995bdb4a6b4ded261ae9099b32cf8 /lib/json
parentb042d9d9c1e1d8855e40d27a799eb69781b779cd (diff)
[ruby/json] generator.c: store pretty strings in VALUE
Given we expect these to almost always be null, we might as well keep them in RString. And even when provided, assuming we're passed frozen strings we'll save on copying them. This also reduce the size of the struct from 112B to 72B. https://github.com/ruby/json/commit/6382c231b0
Diffstat (limited to 'lib/json')
0 files changed, 0 insertions, 0 deletions