@max on the bounded lists: TextRing's slots, the pack's counts and change ring, the net's fact ring, the compass pools, ludic.ui's memo (its 3/4 of MM_CAP), screen pools, answer and pointer rings; ludic.base's intern test holds the table to its cap now that past it is Mem.over

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 16:48:53 +03:00
parent 54c0feafc2
commit 7d85ea3432
8 changed files with 23 additions and 23 deletions

View file

@ -24,7 +24,7 @@ program TextTest {
sb_add(small, "a line longer than its buffer")
expect_eq(sb_len(small), 16)
}
test "the same bytes intern to the one string, made once; past the cap a plain copy" {
test "the same bytes intern to the one string, made once, up to the cap (past it is Mem.over, a failure)" {
let sb = sb_new(32)
let tb = strs_new(3)
sb_add(sb, "08:03")
@ -37,7 +37,7 @@ program TextTest {
let ap: pointer = a
let bp: pointer = b
expect(ap == bp)
for i in 0 .. 5 {
for i in 0 .. 2 {
sb_clear(sb)
sb_int(sb, i)
expect_eq(sb_intern(sb, tb), string(i))