Skip to content

XON 2.0.1

Choose a tag to compare

@oncebuilder oncebuilder released this 30 Nov 04:39
· 3 commits to main since this release

Fixed

  • Memory. After many large list renders, the JS heap no longer stays at its peak: 200 create + clear cycles
    of a 1,000-row list now end at about 2.05 MB of heap (was 4.04 MB). The cause was the browser's weak tables,
    which never shrink after their keys are collected: four reactivity tables are now one, and the "already bound"
    marks of the binder are removed as soon as they are used. No behaviour changes.

Added

  • A memory budget test (memory200CyclesBytes in tests/budget.json): the build fails if 200 create + clear
    cycles grow the heap past the limit, or if a cleared list leaves detached DOM nodes behind.

Full benchmark: bench/RESULTS.md