-
Notifications
You must be signed in to change notification settings - Fork 0
Performance
devlux76 edited this page Mar 14, 2026
·
1 revision
This page explains the performance budget model and the key formulas that keep CORTEX sublinear.
CORTEX uses the Williams 2025 result:
S = O(√(t · log t))
This bound is applied to multiple budgets (hotpath index size, hierarchy fanout, neighbor degrees, maintenance batch sizes) to ensure the system stays efficient as the graph grows.
The resident hotpath index is capped to a sublinear growth function, often expressed as:
H(t) = ⌈c · √(t · log₂(1 + t))⌉
The same sublinear law is used for:
- Hierarchy fanout limits
- Semantic neighbor degree caps
- Daydreamer maintenance batch sizing
See the code in
core/HotpathPolicy.tsandhippocampus/HierarchyBuilder.tsfor the concrete implementations.