Membership by atom number, a page per 256 atoms (disk-first 2; abso Capacity). Asking whether an atom is in shared (or shared's closure) at a version read the atom's event list: its length, then the event, and closure's length after that. where asks it for every line of every file a draft touches, for every agent with a draft. On typescript-rs that came to about 100,000 of where's 180,000 row reads, and to most of an agent's diff. - Each space now also keeps, per 256 atoms, a page of numbers, one per atom: none, the version of its only event when that event adds it, or mixed when it has more (dropped, or back again). A set reads a page once and answers from it; a mixed atom reads its events as before. Shared's closure keeps the same pages. - Kept from a space's first event on, so only fresh adoptions have them. A space indexed before reads its events as before. On typescript-rs adopted fresh, with one opened writer, cold: - where: 180,000 reads to 59,000; 36 s to 4.9 s - diff for cloud-ts-06: 59,000 reads to 4,500; 592 ms - show: about 5,000 reads to about 3,000; about 300 ms 26 of 27 answers match replay; collisions still runs past 60 s. New test membership-pages: every atom at every version, through drops, answers as the in-memory project. It fails when the page comparison is off by one. Named tests: membership-pages, stored-membership, stored-closure, membership-cache, draft-reads-stored, version-files, packed-crossings, project-writer-storage, writer-adoption, drop, named-drafts (42 of 42); tsc and biome clean.
CP capacitybegan .
2 files: worker/project/spaces.ts, worker/project/test/membership-pages.test.ts
version 226Membership by atom number, a page per 256 atoms (disk-first 2; abso Capacity).
Asking whether an atom is in shared (or shared's closure) at a version read the atom's event list: its length, then the event, and closure's length after that. where asks it for every line of every file a draft touches, for every agent with a draft. On typescript-rs that came to about 100,000 of where's 180,000 row reads, and to most of an agent's diff.
- Each space now also keeps, per 256 atoms, a page of numbers, one per atom: none, the version of its only event when that event adds it, or mixed when it has more (dropped, or back again). A set reads a page once and answers from it; a mixed atom reads its events as before. Shared's closure keeps the same pages.
- Kept from a space's first event on, so only fresh adoptions have them. A space indexed before reads its events as before.
On typescript-rs adopted fresh, with one opened writer, cold:
- where: 180,000 reads to 59,000; 36 s to 4.9 s
- diff for cloud-ts-06: 59,000 reads to 4,500; 592 ms
- show: about 5,000 reads to about 3,000; about 300 ms
26 of 27 answers match replay; collisions still runs past 60 s.
New test membership-pages: every atom at every version, through drops, answers as the in-memory project. It fails when the page comparison is off by one. Named tests: membership-pages, stored-membership, stored-closure, membership-cache, draft-reads-stored, version-files, packed-crossings, project-writer-storage, writer-adoption, drop, named-drafts (42 of 42); tsc and biome clean.
worker/project/spaces.ts, worker/project/test/membership-pages.test.ts- MCP
- change on this site's /mcp
- CLI
- abso review 3628 --json
- JSON
- /christopher/abso-core/changes/3628?format=json