Chris Tate
47904df3c2
Decode short non-ASCII strings directly in charCodeAt
...
charCodeAt on a non-ASCII string mapped the UTF-16 index to a byte offset
through a string index entry, which the first read claimed and the
string's release purged. For a string of one character, such as each
character of a for-of loop that codePointAt(0) classifies, the entry cost
more than the read.
A non-ASCII receiver of up to 16 bytes is now decoded from its start on
each read, as scr_str_utf16_len already counts short receivers. Longer
receivers keep the index entry and its cursor.
2026-10-27 01:07:00 -05:00
..
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-23 22:57:22 -05:00
2026-10-11 10:17:20 -07:00
2026-10-26 13:26:29 -05:00
2026-10-08 15:49:53 -05:00
2026-10-08 15:49:53 -05:00
2026-10-14 03:54:52 -05:00
2026-10-05 17:51:24 -05:00
2026-10-08 15:49:53 -05:00
2026-10-14 00:25:07 -05:00
2026-10-14 23:00:33 -05:00
2026-10-08 15:49:53 -05:00
2026-10-05 17:51:24 -05:00
2026-10-14 08:10:02 -05:00
2026-10-12 15:21:39 -05:00
2026-10-14 03:54:52 -05:00
2026-10-26 13:26:29 -05:00
2026-10-20 18:10:27 -05:00
2026-10-25 22:36:11 -05:00
2026-07-22 18:08:04 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-08 15:49:53 -05:00
2026-10-08 15:49:53 -05:00
2026-10-26 09:18:53 -07:00
2026-10-08 15:49:53 -05:00
2026-10-14 00:25:07 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-07-22 18:08:04 -05:00
2026-10-26 13:26:29 -05:00
2026-10-14 23:00:33 -05:00
2026-10-26 21:01:36 -05:00
2026-10-23 14:35:27 -05:00
2026-10-13 12:29:07 -05:00
2026-10-25 12:48:21 -05:00
2026-10-15 00:06:26 -05:00
2026-10-14 04:53:07 -05:00
2026-10-26 14:34:49 -05:00
2026-10-22 09:58:47 -05:00
2026-10-08 15:49:53 -05:00
2026-10-01 10:46:16 -05:00
2026-10-15 07:59:19 -05:00
2026-10-25 22:47:07 -05:00
2026-07-22 18:08:04 -05:00
2026-10-26 09:18:53 -07:00
2026-10-21 13:04:07 -05:00
2026-10-25 05:48:40 -05:00
2026-07-22 18:08:04 -05:00
2026-10-14 11:43:44 -05:00
2026-10-08 15:19:12 -05:00
2026-10-21 13:04:07 -05:00
2026-10-20 08:46:56 -05:00
2026-10-14 23:13:45 -05:00
2026-10-27 01:07:00 -05:00
2026-10-08 15:49:53 -05:00
2026-10-14 11:30:47 -05:00
2026-10-03 04:44:57 -05:00
2026-09-21 17:19:25 -05:00
2026-10-18 11:48:50 -07:00
2026-10-08 15:49:53 -05:00
2026-10-26 13:26:29 -05:00
2026-07-22 18:08:04 -05:00
2026-10-14 17:27:02 -05:00
2026-10-26 13:26:29 -05:00
2026-10-26 13:26:29 -05:00
2026-10-05 17:51:24 -05:00
2026-10-18 11:48:50 -07:00