ludic.base: the growth paths push through kept_push, whose statement-level @alloc_ok says the bound

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 16:01:28 +03:00
parent 3f32bfda7c
commit eb25f24c96
4 changed files with 19 additions and 18 deletions

View file

@ -39,8 +39,8 @@ export function ix_first(ix: IntIndex, v: int) -> int {
}
function ix_grow(ix: IntIndex) -> void {
push(ix.pos, -1)
push(ix.val, -1)
kept_push(ix.pos, -1)
kept_push(ix.val, -1)
}
function ix_shrink(ix: IntIndex) -> void {