ludic.compass: the marks' pools made with the state (512), compass_at's empty mark kept; ludic.base imap_clear in place; ludic.things' kept lists through kept_push; ludic.net's once-per-room and STUN log lines declared

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 16:22:48 +03:00
parent 8dfcccad41
commit d3911d4ba8
11 changed files with 40 additions and 19 deletions

View file

@ -9,7 +9,10 @@ function th_fact(things_st: mut ThingsState, what: int, t: Thing) -> void {
}
var pool = things_st.th_fact_a
if things_st.th_fact_on_b { pool = things_st.th_fact_b }
if things_st.th_fact_n >= len(pool) { push(pool, new ThingFact) }
if things_st.th_fact_n >= len(pool) {
@alloc_ok("a pool miss: past the most facts in one drain only, then kept")
push(pool, new ThingFact)
}
let f = pool[things_st.th_fact_n]
things_st.th_fact_n += 1
f.what = what