heapwolf/lev

key cache and big dbs

Closed this issue · 4 comments

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.

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.

That would be awesome - just started using lev to get a feel for how npmd is storing stuff, and yeah this :)

Will work on this today.