proselint icon indicating copy to clipboard operation
proselint copied to clipboard

Apply memoized rule checks at the paragraph level

Open suchow opened this issue 9 years ago • 0 comments

Rules are currently defined as functions over the full text of the document. It would be better to apply the functions to each paragraph separately. The reason for this is that, for many documents (especially large ones), most of the paragraphs will not change between saves or keystrokes, such that when these functions are memoized, most of the linter computations will be available right away.

suchow avatar Jan 31 '15 07:01 suchow