]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Enhance the pcache1 page cache so that it tries to allocate a block of
authordrh <drh@noemail.net>
Wed, 8 Jul 2015 16:22:42 +0000 (16:22 +0000)
committerdrh <drh@noemail.net>
Wed, 8 Jul 2015 16:22:42 +0000 (16:22 +0000)
commit104a25a034215ea87d33e590d70e4e8e399cef26
tree512cecac14f40db03f1a7afa75afc06ba81c6e35
parent469813659440c8a9a8662ca79a69e8cfdb3c1d97
parent7b341e6f99cd3981f1a39c1ba2a6e4973eb45e36
Enhance the pcache1 page cache so that it tries to allocate a block of
SQLITE_DEFAULT_PCACHE_INITSZ pages from malloc() on startup, and uses those
preallocated pages when possible rather than going to malloc() for each
individual page.  About a 5% performance increase for some workloads.

FossilOrigin-Name: 5348ffc3fda5168c1e9e14aa88b0c6aedbda7c94
manifest
manifest.uuid