]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Another performance tweak: Split the sqlite3BtreeCursorHasMoved() routine
authordrh <drh@noemail.net>
Fri, 22 Aug 2014 23:33:03 +0000 (23:33 +0000)
committerdrh <drh@noemail.net>
Fri, 22 Aug 2014 23:33:03 +0000 (23:33 +0000)
commit6848dad89477be4146d535e7a2646300c472f429
tree9c2a4788195034ff84c98abc4bdc5fd15ba00380
parent637f3d83b9455eeb87bce698877f9d8c03ec912b
Another performance tweak: Split the sqlite3BtreeCursorHasMoved() routine
into two with the second routine named sqlite3BtreeCursorRestore().  The first
now only reports whether or not the cursor has moved and the second tries to
restore the cursor.  This allows the sqlite3VdbeCursorMoveto() routine to be
refactored to avoid stack pointer movements, for a noticable performance gain.

FossilOrigin-Name: ce123b5c592556a8cd38b01fcc91ba76231d3098
manifest
manifest.uuid
src/btree.c
src/btree.h
src/vdbeaux.c