Timothy Flynn
444b2d9ec2
LibJS: Implement UTF-16 surrogate pair concatenation without iteration
...
Performance of string concatenation regressed in a57e2f9 . That commit
iterates over the LHS string to find the last code unit, to check if it
is a high surrogate. Instead, first look at the 3rd-to-last byte in the
UTF-8 encoded string to check if it is a 3-byte code point; then decode
just those bytes to check if we have a high surrogate. Similarly, check
the first 3 bytes of the RHS string to check if we have a low surrogate.
2022-01-18 09:46:55 +00:00
..
2022-01-13 23:05:31 +01:00
2022-01-13 19:25:56 +01:00
2022-01-03 21:50:50 +01:00
2021-12-29 10:34:28 +01:00
2022-01-04 23:37:26 +00:00
2021-12-21 14:56:28 +01:00
2022-01-03 21:50:50 +01:00
2022-01-09 22:02:43 +01:00
2022-01-05 11:21:38 +01:00
2022-01-05 11:21:38 +01:00
2022-01-09 22:02:43 +01:00
2022-01-09 22:02:43 +01:00
2022-01-09 22:02:43 +01:00
2022-01-09 22:02:43 +01:00
2022-01-16 01:54:48 +01:00
2022-01-06 12:36:23 +01:00
2022-01-16 01:54:48 +01:00
2022-01-13 13:43:57 +01:00
2021-12-28 14:48:32 +01:00
2022-01-04 23:37:26 +00:00
2021-12-27 21:44:07 +01:00
2021-12-27 21:44:07 +01:00
2022-01-16 11:07:02 +01:00
2022-01-15 20:13:48 +01:00
2022-01-15 20:13:48 +01:00
2022-01-16 11:07:02 +01:00
2022-01-16 11:07:02 +01:00
2022-01-16 14:50:22 +01:00
2022-01-16 01:54:48 +01:00
2021-12-21 14:56:28 +01:00
2022-01-13 10:08:34 +01:00
2022-01-05 11:21:38 +01:00
2022-01-16 14:50:22 +01:00
2022-01-16 01:54:48 +01:00
2021-12-29 00:16:51 +01:00
2021-12-29 00:16:51 +01:00
2022-01-16 01:54:48 +01:00
2022-01-04 23:37:26 +00:00
2022-01-04 23:37:26 +00:00
2022-01-04 23:37:26 +00:00
2022-01-16 01:54:48 +01:00
2022-01-16 14:50:22 +01:00
2022-01-16 14:50:22 +01:00
2022-01-16 14:50:22 +01:00
2022-01-16 14:50:22 +01:00
2021-12-29 16:02:44 +01:00
2021-12-29 16:02:44 +01:00
2022-01-17 14:46:07 +00:00
2022-01-16 14:50:22 +01:00
2022-01-04 23:37:26 +00:00
2022-01-04 23:37:26 +00:00
2022-01-09 22:02:43 +01:00
2022-01-09 22:02:43 +01:00
2022-01-09 22:02:43 +01:00
2022-01-03 21:50:50 +01:00
2022-01-05 11:21:38 +01:00
2022-01-05 11:21:38 +01:00
2021-12-21 22:13:51 +01:00
2022-01-04 13:07:42 +00:00
2022-01-04 13:07:42 +00:00
2022-01-04 23:37:26 +00:00
2022-01-04 23:37:26 +00:00
2022-01-06 12:36:23 +01:00
2022-01-09 22:02:43 +01:00
2022-01-06 12:36:23 +01:00
2022-01-06 12:36:23 +01:00
2022-01-04 23:37:26 +00:00
2022-01-04 23:37:26 +00:00
2022-01-04 23:37:26 +00:00
2022-01-04 23:37:26 +00:00
2022-01-07 15:44:42 +01:00
2021-12-21 14:56:00 +01:00
2022-01-03 21:50:50 +01:00
2022-01-03 21:50:50 +01:00
2022-01-17 14:46:07 +00:00
2022-01-17 14:46:07 +00:00
2022-01-03 21:50:50 +01:00
2022-01-03 22:11:35 +01:00
2022-01-18 09:46:55 +00:00
2022-01-09 22:02:43 +01:00
2022-01-16 14:57:12 +01:00
2022-01-05 18:57:14 +01:00
2022-01-03 21:50:50 +01:00
2022-01-05 18:57:14 +01:00
2022-01-03 21:50:50 +01:00