Files
vectorcraft/crates
dotCooCoo a8174f2ae5 JavaScript: spreading a string counts the strings it makes for its characters
Spreading a string makes a new one- or two-unit string for each code point,
but the spread held only the bytes of each element's property, so a long
string could make the host build every character string past the heap
limit in one instruction. Each element now holds the bytes of its string as
well, and the strings stay in the heap estimate once the array holds them.
2026-11-22 11:33:43 -08:00
..
2026-11-19 15:24:38 +07:00