]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Btree interface refactoring:
authordrh <drh@noemail.net>
Mon, 6 Jun 2016 01:14:08 +0000 (01:14 +0000)
committerdrh <drh@noemail.net>
Mon, 6 Jun 2016 01:14:08 +0000 (01:14 +0000)
commit5cd22006ef417a954b3e57aed12c4ebb087a5e40
treed384088e2544f22b84d7a619bbff16c0fff961de
parentf94fdd832cc7f7ec1764af518edf746cba6a3687
parent5e08d0fcb6574735f2f02803117e7094136856ce
Btree interface refactoring:
(1) The sqlite3BtreeKeySize() interface is renamed to sqlite3BtreeIntegerKey()
and modified to work only for table btrees with a rowid.
(2) The sqlite3BtreeDataSize() interface is renamed to sqlite3BtreePayloadSize()
and modified to work with any btree.
(3) The sqlite3BtreeDataFetch() and sqlite3BtreeKeyFetch() routines are
combined into a single sqlite3BtreePayloadFetch() routine.
The result of these changes is a smaller binary and fewer CPU cycles needed
to run queries.

FossilOrigin-Name: 2d831074cf730dce47de5880d7b4570d04d15fee
manifest
manifest.uuid