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:
parent
3f32bfda7c
commit
eb25f24c96
4 changed files with 19 additions and 18 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue