Ruff author squeezes 8 more bytes out of Expression enum (64→56), cutting retained memory by >1%
charliermarsh · x · 2026-09-11
charliermarsh shares a fresh deep optimization in Ruff: shrinking Rust's Expression enum from 64 to 56 bytes by trimming its largest variant, which reduces retained memory by another >1%. A nice illustration of how enum layout work pays off at scale in code-analysis tooling.
Related event: Ruff Author Shrinks Expression Enum to 56 Bytes, Saving 1% Memory(2 posts)→
More from coding & agent
- Four-step playbook for "goal-driven AI": getting better results from GPT-6 Astra agents — daniel_mac8 · 2026-09-11
- Codex /side chat may cause near-full prompt cache misses, user flags design — YouJiacheng · 2026-09-11
- CursorBench 4.0 launches; Muse Spark 1.3 matches Sol at under 40% the cost — jyangballin · 2026-09-11
- Yacine vents: 'If I hear one more person say MCP I'm going to lose my mind' — yacineMTB · 2026-09-11
- muse spark 1.3 scores strong and cheap on CursorBench 4 — infoxiao · 2026-09-11
- yacineMTB's Agent Found His Camera Feed and Built an App, All From His Phone — yacineMTB · 2026-09-11