key cache and big dbs
Closed this issue · 4 comments
juliangruber commented
When opening a rather large db it can take >10s before you get to the repl, and I assume that is because the key cache is built on startup. Would be nice to add an option to disable that, or to build key caches while entering sublevels.
heapwolf commented
yea, ive talked about this with people but just haven't got around to it. the decision i've come to is to build cache on demand. I'll start working on this.
DamonOehlman commented
That would be awesome - just started using lev to get a feel for how npmd is storing stuff, and yeah this :)
heapwolf commented
Will work on this today.
juliangruber commented