Files
vectorcraft/crates/js
dotCooCoo 71d1600dab Scripts: an error's authored check hashes its name and message without copying them
An error the interpreter throws keeps a hash of its description, and a run compares the error's
current name and message with it to tell whether the text is the script's own. The comparison
copied the whole description first, so a rejected error whose message a script had replaced with
a long string was copied whole at the end of the run. The hash is now fed the strings' code units
a piece at a time along the rope, so nothing is copied, and a change anywhere in the message is
still seen.
2026-11-24 06:12:42 -08:00
..