]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Store the page number for the PENDING_BYTE page in the Pager object, rather
authordrh <>
Wed, 23 Feb 2022 17:00:44 +0000 (17:00 +0000)
committerdrh <>
Wed, 23 Feb 2022 17:00:44 +0000 (17:00 +0000)
commit584bfcaeb6bcc7cb1366499f2c31896bfe8597ba
tree150b925ca8e25b94198a043d4a9b3f5df3d59141
parentf2a777fa5dc5f965d484c737a0b2dfe77a84bf56
Store the page number for the PENDING_BYTE page in the Pager object, rather
than computing the page number every time it is needed, because it turns out
that number is needed quite frequently.  This saves a few hundred thousand
CPU cycles and a few bytes of code space.

FossilOrigin-Name: 5aa9c3eb45514d5eb7b32696d25a9aeb7dad485e1ea5adb833fac6d1f2105f1a
manifest
manifest.uuid
src/btreeInt.h
src/pager.c
src/pager.h