···3344const GraphemeCache = @This();
5566-/// the underlying storage for graphemes
77-buf: [1024 * 4]u8 = undefined,
66+/// the underlying storage for graphemes. Right now 8kb
77+buf: [1024 * 8]u8 = undefined,
8899// the start index of the next grapheme
1010idx: usize = 0,
11111212-/// the cache of graphemes. This allows up to 1024 graphemes with 4 codepoints
1212+/// the cache of graphemes. This allows up to 2048 graphemes with 4 codepoints
1313/// each
1414-grapheme_buf: [1024]Grapheme = undefined,
1414+grapheme_buf: [1024 * 8 / 4]Grapheme = undefined,
15151616// index of our next grapheme
1717g_idx: u21 = 0,