ludic.shop, ludic.net: nothing made per tick - the week's lists and dice reused, the net's facts from a ring, the room's watch address made once, pools and kept lists through kept_push; what runs once per host, join, room or guest says so in @alloc_ok

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 16:09:32 +03:00
parent f5834f8f63
commit 4b533b5ff6
18 changed files with 86 additions and 23 deletions

View file

@ -51,6 +51,9 @@ export property NetMessage {
export state NetState {
net__cfg: NetConfig = new NetConfig
net__facts: Queue<NetFact> = net__facts__new()
net__fpool: []NetFact = net__fpool__new() # the facts' records, taken in turn (pool.ludic)
net__fat: int = 0
net__watch_url: string = "" # the room's address, made once per room
net__seen: []string = new []string # guests already punched for
net__free: []NetMsg = new []NetMsg # sent and taken (or stale): made again, never new (pool.ludic)
net__ina: []NetMessage = new []NetMessage # the inbox's records, two halves