mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-11 12:53:59 +00:00
* functions: TEXTJOIN builds its result piece by piece within the text cap TEXTJOIN converted every input and delimiter into an owned String before joining, so many references to one long shared text copied gigabytes before the joined length was ever checked. Errors are now found first without building text (so they still win in argument order), then each piece and delimiter is converted only as it is appended, stopping at the cap. * address review: check the cap before copying each text piece