Tuesday, September 01, 2026

zod (.js), faster

 Zod 4.5

Issue #800: How to fit Minesweeper into 247 bytes — JavaScript Weekly

Zod 4.5: Faster Parsing, 9x Less Memory Per Schema — A big performance release for the popular TypeScript-first schema validation library. In a deep dive, Colin explains how method memoization helped cut a bare z.string() from using 7.5KB of heap to just 784 bytes.

Colin McDonnell