d8a55240e0
The collector now paces as the client's Lua 5.0 does. The threshold: - The state opens at 4× its count (`0x6f6ec8`), and InitLua then sets 256 KB (`0x7039f2`). - After a collection it is the count plus the larger of the old headroom and a quarter of the count (`0x6fae00`). The headroom is capped at the free space in the client's six block pools, which a new book models (`0x6fae90`). - The memory watch collects from a threshold of 0 (`0x703bd6`), and varargs never collect. The stack and call records start at 45 and 8 slots and grow by 5.0's rule (`0x6f5f60`). They are checked once per collection, during mark, and halved under a quarter's use (`0x6f7949`). A tail call checks the stack where the call is made (`0x6f922c`). A collection of a 10 MB heap takes about 1 ms; each change fails its test without it. Fixes #1783 Fixes #1784 🤖 Generated with [Claude Code](https://claude.com/claude-code)