b624a6bf
beads: close bgu (ffi.string decode disproven) + memory note on buffer-reuse trap
Two-round microbench shows ffi.string(scratch + off, len) loses 2-2.7x to buf:sub even with a pre-allocated stable scratch cdata and ffi.copy amortized over 26 strings. The per-call pointer-arith cdata crosses the ffi.string frame and can't be sunk — same root cause as a6n.
Eugene Blikh <bigbes@gmail.com> — 2026-05-24 04:23:08 UTC
Commit b624a6bf75cfdf7ff59c14073e6b1ecc21f9f143 —
view raw patch
Parent(s):
48ef4180
| File | Status | + | − |
|---|---|---|---|
.beads/interactions.jsonl
|
M | +1 | |
.beads/issues.jsonl
|
M | +2 | -2 |