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-02-02 18:58:16 -08:00
2023-03-07 12:22:34 -08:00
2023-12-28 16:33:18 -08:00
2024-01-29 15:17:23 -08:00
2024-01-23 20:03:56 -08:00
2024-01-29 11:08:09 -08:00
2024-02-01 13:45:47 -08:00
2023-03-07 12:22:34 -08:00
2023-03-07 12:22:34 -08:00
2024-01-23 20:03:56 -08:00
2023-03-07 12:22:34 -08:00
2024-01-04 02:57:43 -08:00
2024-02-13 20:47:02 -08:00
2024-01-12 17:02:20 -08:00
2024-02-02 18:58:16 -08:00
2024-02-05 12:47:52 -08:00
2023-08-07 23:30:05 -07:00
2023-12-01 14:02:08 -08:00
2023-12-05 15:53:44 -08:00
2023-03-07 12:22:34 -08:00
2023-11-20 15:07:13 -08:00
2024-02-01 13:45:47 -08:00
2024-02-15 13:09:13 -08:00
2023-08-12 13:51:03 -07:00
2024-01-12 17:02:20 -08:00
2024-02-21 18:34:18 -08:00
2023-12-16 17:36:08 -08:00
2023-06-02 19:03:16 -07:00
2024-01-29 15:17:23 -08:00
2023-06-09 05:53:23 -07:00
2023-03-07 12:22:34 -08:00
2023-07-24 19:14:41 -07:00
2024-02-22 19:16:17 -08:00
2023-04-14 17:45:16 -07:00
2023-04-14 17:45:16 -07:00
2023-04-14 17:45:16 -07:00
2023-04-14 17:45:16 -07:00
2024-02-01 13:45:47 -08:00
2024-01-23 20:03:56 -08:00
2024-02-15 07:09:44 -08:00