]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Remove the VdbeCursor.lastRowid cache of the current rowid, since maintaining
authordrh <drh@noemail.net>
Sun, 12 Oct 2014 22:37:22 +0000 (22:37 +0000)
committerdrh <drh@noemail.net>
Sun, 12 Oct 2014 22:37:22 +0000 (22:37 +0000)
commitb53a5a9e50d376a6cda897ce629f4af55b96c193
treeb85ea0cbfd9e1e5619a1037532eda6072e8eb3fc
parentc81aa2e1203c4e3aa389f69e715c019f50fe1420
Remove the VdbeCursor.lastRowid cache of the current rowid, since maintaining
the correct cache value uses more CPU cycles than just recomputing the rowid
on the occasions when it is actually needed.  Replace it with the
VdbeCursor.aOffset field which used to be computed from VdbeCursor.aType
when needed. Saves 100 bytes of code space and runs 0.2% faster.

FossilOrigin-Name: 91384a7d727ef0f285cd430e829ba9f3852db50e
manifest
manifest.uuid
src/vdbe.c
src/vdbeInt.h
src/vdbeaux.c