Alex Dowad
0b32a15eb0
Optimize mb_str{,im}width for performance
...
Rather than doing a linear search of a table of fullwidth codepoint
ranges for every input character,
1) Short-cut the search if the codepoint is below the first such range
2) Otherwise, do a binary (rather than linear) search
2021-09-29 18:19:01 +02:00
..
2021-09-29 18:19:01 +02:00
2021-08-31 13:41:34 +02:00
2020-11-09 13:45:17 +02:00
2020-10-13 06:12:38 +02:00
2020-11-25 19:52:19 +02:00
2021-09-29 18:19:01 +02:00
2021-09-06 13:16:23 +02:00
2021-09-20 11:27:54 +02:00
2021-08-31 13:41:34 +02:00
2021-04-15 15:52:31 +02:00
2017-07-23 11:55:43 +02:00
2021-08-30 11:11:33 +02:00
2021-09-29 18:19:01 +02:00
2021-08-31 13:41:34 +02:00
2020-08-31 23:16:57 +02:00
2021-09-20 11:27:54 +02:00
2021-09-20 11:27:54 +02:00
2021-08-31 13:41:34 +02:00
2020-10-13 06:12:38 +02:00
2020-10-13 06:12:38 +02:00
2020-08-31 23:17:49 +02:00
2018-10-13 14:17:28 +02:00