diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-30 05:28:31 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-30 05:28:31 -0500 |
| commit | 2a1e66b157b624eac064788b9cef08695d04aa9c (patch) | |
| tree | 69e3e37da96bf1c16e1a887cc2f82d527034c60c /docs/github-metadata-export.md | |
| parent | ca8ad42c7174b6b5b99f415c68adc0bd22305f21 (diff) | |
The heap pass keeps a slot that shows each copy in a part's spans, not a hold on the copy
Sampled (run d201, the thread that records the list ahead of each frame): 54 % of its work is heap_buffer_pass
itself, and by line 81 % of that is making the copies' spans (SweepRanges::spans), 11 % setting the slots' ranges.
Each part's span held its copy (an Arc), and about every one of the 16 parts is made again each pass, so some 70,000
holds on copies other threads hold too were taken and let go a pass. A part's span now keeps a slot of the part that
shows the copy (a change that could leave that slot showing another copy or none makes the part stale, as before);
a pass takes one hold on each copy, which goes on into what it refreshes, and setting a slot takes none of its own.
AI-assisted (Claude). Tested on an RTX 4060 Ti, driver 616.64 (Windows 11): heap_range_tests (the spans kept by part
against every slot's, 600 random rounds) pass; the pass's time is measured in a standing run next.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/github-metadata-export.md')
0 files changed, 0 insertions, 0 deletions