amperser / proselint

A linter for prose.
http://proselint.com
BSD 3-Clause "New" or "Revised" License
4.31k stars 177 forks source link

[rfc] startup overhead reduction #1374

Open Nytelife26 opened 1 month ago

Nytelife26 commented 1 month ago

this is a follow up of #1363.

work has already been done in #1371 to reduce the startup impact of click. further work could be done to profile the application's initialisation route and remove further overhead.

eventually, an implementation of the language server protocol is desirable, removing the need for IDEs to run proselint's startup routine more than once. an intermediary implementation similar to the work done in eslint_d may be beneficial, and would only require allowing stdin mode to lint continuously.