Files
scriptc/packages/compiler
Chris Tate dfdc610c59 Replace every match of a block in one-character replace chains
Chains of global one-character replacements (the HTML-escape idiom) run
as one scr_str_replace_chars call. It searched for the next match eight
bytes at a time and started the search over after each replacement.

It now reads 16-byte blocks with SSE2 or NEON (8-byte words elsewhere on
little-endian hosts) and replaces every match of a block before reading
the next one. The table of characters and replacements is kept for the
next call with the same immortal operands, which are the literals the
compiler passes, instead of being rebuilt from the replacement text on
every call.
2026-10-21 17:36:58 -05:00
..
2026-10-21 09:13:12 -05:00
2026-10-20 19:27:58 -05:00
2026-07-22 18:08:04 -05:00
2026-10-21 09:51:40 -05:00
2026-10-21 09:51:40 -05:00