mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-28 04:17:06 -06:00
Finding 33. geom::subpaths reserved pts + counts ops up front, so a poly-polygon record with a long list of zero counts reserved room for ops it never emits, and the canvas charged only ops.len() against MAX_BYTES. subpaths now sizes the vector exactly, and Canvas::push charges what each item holds (capacity) for paths, bitmaps and text. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>