diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 01:58:54 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 01:58:54 -0500 |
| commit | fbdff6bced2a2954ffa5d50a049e2c7500eee5c0 (patch) | |
| tree | 962ccf359b24db0d0b3879b13bdec8849bff5dde /docs/lua-modding.md | |
| parent | 02d422a9ff7acfbec18d8469328a8b568a1973a7 (diff) | |
shadow: joined() merges overlapping ranges in the vector it was given
The joined ranges were pushed into a second vector of the same capacity on every call
(the dirty list of a card copy, tens of thousands of ranges); they are now compacted in place.
Ported from TaynanGT/Vice-Tay 876a02f (GPL-3.0). Tested: cargo test -p leonida-gpu --lib shadow:: (34 passed, the existing joined test among them); cargo check --profile diag -p leonida --features diagnostics.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/lua-modding.md')
0 files changed, 0 insertions, 0 deletions