Files
scriptc/packages/runtime/src
Chris Tate 1245b18469 Search ASCII strings from a start index without index conversion
String.prototype.indexOf took its byte-search fast path on a proven-ASCII
receiver only when the start index was not positive. A positive start went
through the general path: ToIntegerOrInfinity, the surrogate-needle check,
and UTF-16 to byte conversions in both directions, although byte offsets
are UTF-16 indexes in an ASCII string. The fast path now covers every start
index: a positive start truncates and clamps to the length, where only the
empty needle is found, and the search runs from that byte offset.
2026-10-26 18:22:22 -05:00
..
2026-10-26 06:45:43 -05:00
2026-10-22 18:05:53 -05:00
2026-10-23 19:31:34 -05:00
2026-10-07 19:07:02 -05:00
2026-10-25 02:28:32 -05:00
2026-10-19 07:55:06 -05:00
2026-10-26 06:45:43 -05:00
2026-10-20 21:52:19 -05:00
2026-10-14 17:27:02 -05:00
2026-10-26 06:45:43 -05:00
2026-10-22 06:59:47 -05:00
2026-10-22 03:33:29 -05:00