lewis6991 / impatient.nvim

Improve startup time for Neovim
MIT License
1.19k stars 28 forks source link

feat: support the use of sqlite as alternative for filesystem #28

Closed kkharji closed 2 years ago

kkharji commented 3 years ago

Hey @lewis6991,

I saw some interest in using sqlite.lua instead of filesystem read/write.

This pr adds support for sqlite as optional form of saving and loading cache.

Users define for example _G.__luacache_use_sqlite and then require'impatient' to use sqlite.lua, otherwise it shouldn't impact performance or whether sqlite.lua is installed or not.

lewis6991 commented 2 years ago

Going to close this, but feel free to re-open if you want to pick this up again.