Optimizing Lua string literals to save 400 bytes

1 · Alisa Sireneva · July 2, 2026, 3:41 p.m.
Summary
This is a guest post by Yuki about some tricks we use for Lua code compression in our shared ComputerCraft pet project. I’ve written about how we adapted bzip2 for this purpose earlier; this story is an installment that takes place in the same context. If you want to read more stuff from her, here’s an Atom feed and the blog....