diff options
Diffstat (limited to 'docs/design/memory.md')
| -rw-r--r-- | docs/design/memory.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/design/memory.md b/docs/design/memory.md index bcbdf35..c282df5 100644 --- a/docs/design/memory.md +++ b/docs/design/memory.md @@ -68,6 +68,8 @@ document slots, uri text, hover text, declaration types, parsed type spans, reso inference function records retain stable addresses while their index grows. inference edits, replacement text, and annotation verification buffers also grow; later declarations are not dropped at the original function-count or edit-count limits. protocol method names, request identifiers, json keys, nesting paths, and header lines also grow; request identifiers are echoed in full. +completed hover, navigation, token and completion replies have a bounded 64-entry cache. keys include the document generation, request position and include epoch. source updates, included-file updates, saves and close/reopen invalidate dependent replies; cached json values do not retain mutable compiler-table addresses. `zc/cacheStats` reports cache hits, misses and compiler checks for regression tests. + ## freestanding backing the stub and board ports reserve `MICRO_PORT_WORDS` cells at build time; it defaults to the initial image and heap size. the vm's active size and growth limit still change at runtime, within that physical backing. set the macro when linking a board with more reserved ram. a rejected physical allocation preserves the current memory. hosted maps keep their heap above the fixed regions; the historical `fixed` preset retains its bounded layout for compatibility. |
