yukiisbored / patchouli-x

Search your darlings ✨
ISC License
0 stars 0 forks source link

Improve startup time by caching the index instead of rebuilding on startup #13

Open yukiisbored opened 4 days ago

yukiisbored commented 4 days ago

Currently, Patchouli builds the index from scratch every time it starts up. This contributes to long startup times.

Instead we should cache the index (and the documents id list) and only do a diffing on startup.