You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ac04acc
Browse filesBrowse the repository at this point in the historyBrowse files
Equity curve window: pin the reset of the block before a block read, and two documentation fixes
The window clears its block before it reads a replacement and publishes the new one only after the read completes, so a read that fails after a short read cannot leave a half-overwritten block marked valid. No row exercised that: the existing failed-refill rows never reach an adjacent block fill that fails. The new row walks the first block through a one-line cache, shortens the backing file inside the next block, expects the typed I/O failure on the adjacent lookup, and then requires an intact early point to read back bit for bit (without the reset it would return the bytes of the partially overwritten block).
The equity writer's citation in the arena bound page pointed at the line that is now another function; it names the writer's write line. The cache parameter page now says what the documented bypass costs: zero capacity turns the cache off, so each lookup reads one point.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: docs/pages/memory-management.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -508,7 +508,7 @@ This setter adds no environment variables or JSON limits.
508
508
| Erased minima and consumed cycles |`erased_minima_pages`, `consumed_cycle_pages`| 32 KiB each, shared by that owner's data/index files |
509
509
| Position-tail read window |`position_tail_pages`| 64 KiB in 16 complete 4 KiB pages, plus one shared metadata charge per page |
510
510
| Successor-root, group-receipt and chain-segment read caches |`successor_root_pages`, `receipt_tail_pages`, `chain_segment_pages`| 64, 64 and 16 fixed-width payload rows respectively; pending write batches are separate fixed transaction workspace |
511
-
| Ordinary report-sink metric curve reader |`equity_curve_pages`| 2,730 complete 24-byte point lines, plus a fixed 65,520-byte sequential block workspace charged by `cache_control_bytes()`; the writer's retry batch is separate mandatory workspace |
511
+
| Ordinary report-sink metric curve reader |`equity_curve_pages`| 2,730 complete 24-byte point lines, plus a fixed 65,520-byte sequential block workspace charged by `cache_control_bytes()`; zero capacity turns the cache off, so each lookup reads one point (about eight backing reads per point of a report); the writer's retry batch is separate mandatory workspace |
512
512
| Numeric Series/rings, HeldHistory, extrema and WMA windows constructed by the run |`ta_history_pages`| Existing owning logical window; finite allowances select backed numeric pages |
0 commit comments