summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-09-18 13:56:20 -0700
committergit <svn-admin@ruby-lang.org>2023-10-08 04:17:15 +0000
commit2b6228be48dc656c3e7a95919622e4b8561324cf (patch)
treed964da45ed6fa3930c234c872eb52de0a5b26858 /include/ruby/internal
parentbf71b0eda54b551db023cda9051b9be218c0f75d (diff)
[rubygems/rubygems] Reduce allocations when parsing compact index
This still allocates a ton (a string for each line, plus a bunch of splits into arrays), but it helps a bit when Bundler has to go through dependency resolution. ``` ==> memprof.after.txt <== Total allocated: 194.14 MB (2317172 objects) Total retained: 60.81 MB (593164 objects) ==> memprof.before.txt <== Total allocated: 211.97 MB (2404890 objects) Total retained: 62.85 MB (640342 objects) ``` https://github.com/rubygems/rubygems/commit/c68b41b0e5
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions