Kovid Goyal
d4d2ae969e
Use a branchless check for unicode range
2025-04-01 12:32:17 +05:30
Kovid Goyal
6ecd78d9db
Remove bounds checking for unicode table access in Go
2025-04-01 10:41:17 +05:30
Kovid Goyal
66856e7b52
Use a multi-stage lookup table for grapheme segmentation
2025-03-31 21:51:28 +05:30
Kovid Goyal
b66a763ddf
Use a 3 stage table for Unicode properties
...
Halves the data size and reduces source code size by 50x
Shows no significant runtime performance effect.
Allows for easily adding more properties to the table in the future
2025-03-25 13:16:59 +05:30
Kovid Goyal
3d0e45ace8
Use the new multi-stage unicode table for wcwidth
2025-03-24 14:20:40 +05:30
Kovid Goyal
f02245af79
Also run gofmt on kittens subdir in CI
2025-03-23 20:26:10 +05:30
Kovid Goyal
16f7380cb0
Implement grapheme segmentation in Go
2025-03-23 19:24:12 +05:30
Kovid Goyal
aa8c32006f
Implement grapheme seg algo in Go
2025-03-22 14:54:58 +05:30