]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Optimizations to sqlite3BtreeIndexMoveto() avoid unnecessary comparisons if
authordrh <>
Mon, 7 Mar 2022 01:29:36 +0000 (01:29 +0000)
committerdrh <>
Mon, 7 Mar 2022 01:29:36 +0000 (01:29 +0000)
commitc5a55db75d92aeefbbf368c72f6df2aab180aea4
treebd4384f6352751e6289acfef4b7eb88c7fae8f01
parent41f46703b84b12c3d67e053687a9967aa8048cb9
Optimizations to sqlite3BtreeIndexMoveto() avoid unnecessary comparisons if
the cursor is already near the end of the table and is not moving far.  This
case is more common that you would expect.  The optimization saves almost
4 million CPU cycles.

FossilOrigin-Name: 0057bbb508e7662b0da19e981c07ef10236cb616bda952745de3aa2d1c286289
manifest
manifest.uuid
src/btree.c