pouchdb/pouchdb — pull request #1897 by nolanlawson (2014-04-11 05:15:06+00:00)
Title: (#1897) - idb perf improvements for get/allDocs

Similar to what was done for WebSQL, this caches
the docCount as well as minimizing the calls to
isDeleted and merge.winningRev. The winningRev
is also stored in the by-seq store, similar to how
the winningSeq is stored in websql.