Meghan Denny
ed339b367d
improve Bun.stringWidth's algorithm (#9022)
* improve Bun.stringWidth's algorithm
* add a bunch more tests from string-width package
* make typescript happy
* undo typescript changes
* use better #define check for debug mode
* properly handle latin1 width tests
* support grapheme clusters
* fix trailing newline
* visibleUTF16WidthFn- add fast path for leading ascii
* add firstNonASCII16IgnoreMin
* fix firstNonASCII16CheckMin
* vectorize visibleUTF16WidthFn
* support emoji variation selector
* expose stringWidth in release mode too
* vectorize visibleLatin1Width
* support ambiguousIsNarrow option
* add typescript definition for stringWidth
2024-02-22 19:16:17 -08:00
..
2024-01-25 19:15:26 -08:00
2024-01-24 21:03:32 -08:00
2024-02-12 14:27:26 -08:00
2023-09-20 18:28:07 -07:00
2024-02-08 23:02:32 -03:00
2024-01-23 20:03:56 -08:00
2024-02-19 10:23:31 -08:00
2024-02-19 11:44:09 -08:00
2024-02-16 18:24:04 -08:00
2024-02-04 00:42:40 -08:00
2024-02-08 13:42:13 -08:00
2024-02-05 12:47:52 -08:00
2024-02-07 15:17:24 -08:00
2024-02-05 12:47:52 -08:00
2024-02-12 14:27:26 -08:00
2024-01-19 05:22:06 -08:00
2024-02-21 18:31:14 -08:00
2024-02-22 19:16:17 -08:00
2024-02-19 10:23:31 -08:00
2024-02-06 16:08:49 -08:00
2024-01-23 20:03:56 -08:00
2024-02-08 13:42:13 -08:00
2024-02-16 11:32:08 -08:00
2024-02-19 10:23:31 -08:00
2024-02-08 17:56:26 -08:00
2023-10-30 23:05:32 -07:00
2024-02-21 14:13:43 -08:00
2024-02-01 13:45:47 -08:00
2024-02-14 18:01:05 -08:00
2024-01-08 14:37:18 -08:00
2024-02-01 13:45:47 -08:00
2023-03-07 12:22:34 -08:00
2024-02-05 12:47:52 -08:00
2023-03-07 12:22:34 -08:00
2023-07-28 16:59:46 -07:00
2023-07-31 19:41:41 -07:00
2024-01-12 23:31:18 -08:00
2023-09-15 08:22:06 -07:00
2024-01-23 20:03:56 -08:00
2024-02-05 12:47:52 -08:00