2 ms·
> In a paragraph of 10,000 words, the editor becomes really slow I think it's because typing a single character causes it to reparse the entire typed text in o
by true_religion 11y ago
> In a paragraph of 10,000 words, the editor becomes really slow
I think it's because typing a single character causes it to reparse the entire typed text in order to check if the document model needs updating.
I've seen something similar in other editors. The only solution I can naively think of is to chunk the document and only do checks within the chunk.