]> git.ipfire.org Git - thirdparty/sqlite.git/commit
This is a failed attempt to optimize the usage of the page cache in pcache-opt
authordrh <>
Wed, 21 Jun 2023 18:12:07 +0000 (18:12 +0000)
committerdrh <>
Wed, 21 Jun 2023 18:12:07 +0000 (18:12 +0000)
commit0e98cdda2230cf9030d6db47c963c70ac714fc29
tree8e8aa14abba0bf38bba70b725182183f52ec78c6
parent3a202be6f1f77af9d7e35d01e9db9d9952a3e6f7
This is a failed attempt to optimize the usage of the page cache in
sqlite3BtreeIndexMoveto() by deferring calls to sqlite3PagerUnref() for
child pages of the btree until we are sure those pages will not be reused.
The code does not work in two senses:  (1)  Many tests still fail.
(2) The performance gain is less than 2 million cycles and does not seem
worth the extra risk and complication.

FossilOrigin-Name: 84731a1fd25bd74c8f326a8a8ce3921831eb3d73872564b973bbd81aa406333d
manifest
manifest.uuid
src/btree.c