1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext
Niels Dossche a8c927005e Skip validity and length calls when the byte cannot be part of a multibyte sequence
Almost every character set can be given a number N such that a multibyte
sequence starts with a byte higher than that number N. This allows us to
skip a lot of work. To ensure the correctness of this, a sanity check is
implemented that exhaustively tries every 4-byte sequence for every
character set and checks for consistency issues.

This finally gives:
  Time (mean ± σ):     120.2 ms ±   1.2 ms    [User: 116.9 ms, System: 2.8 ms]
  Range (min … max):   118.0 ms … 122.9 ms    24 runs
2024-03-07 20:27:18 +01:00
..
2024-02-26 19:44:52 +01:00
2024-02-26 14:00:08 +01:00
2024-02-25 21:03:37 +01:00
2024-03-07 19:38:03 +03:00
2024-03-07 17:54:54 +01:00
2024-03-05 20:51:04 +01:00
2024-03-04 17:36:51 +01:00
2024-02-27 15:32:20 +00:00
2024-02-27 21:49:47 +01:00
2024-02-25 21:03:37 +01:00
2024-03-06 11:39:48 +00:00
2024-03-05 20:51:12 +01:00
2024-02-27 21:49:47 +01:00
2024-03-05 10:13:57 +01:00