Commit 26ba6a7
docs(CompressedIntSet): say four bytes of *payload* for a fresh-chunk range add
Addresses round 7 of the Copilot review on #337 (one point, on two doc surfaces).
"A range in a fresh chunk is four bytes, whatever its width" described the run
pair's payload, not its heap cost — the pair lives in a ushort[], which carries an
array header. Both surfaces now say "four bytes of payload" and note the header,
matching how MemoryUsageInBytes already documents its own exclusion. The claim the
sentence exists to make — that the cost is independent of the range's width — is
unchanged and still true.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1527583 commit 26ba6a7
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2224 | 2224 | | |
2225 | 2225 | | |
2226 | 2226 | | |
2227 | | - | |
| 2227 | + | |
| 2228 | + | |
2228 | 2229 | | |
2229 | 2230 | | |
2230 | 2231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
0 commit comments