]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Combine the Expr.pTab and Expr.pWin fields into a union named "y". Add a new
authordrh <drh@noemail.net>
Thu, 20 Sep 2018 19:02:15 +0000 (19:02 +0000)
committerdrh <drh@noemail.net>
Thu, 20 Sep 2018 19:02:15 +0000 (19:02 +0000)
commiteda079cd2c8ac1217574cd372c7bbcf6f651ccab
tree1426ab64c86073c55d49fd39029c8cd092348dd8
parent85c6892aa45dc0f476aa9bd772c678215f679853
Combine the Expr.pTab and Expr.pWin fields into a union named "y".  Add a new
EP_WinFunc property that is only true if Expr.y.pWin is a valid pointer.
This reduces the size of the Expr object by 8 bytes, reduces the overall
amount of code, and shaves over 1 million cycles off of the speed test.

FossilOrigin-Name: ad130bb86e74e6ce165fdbdce3a19699510f0e62071c1c7923b5a4538d888c7c
15 files changed:
manifest
manifest.uuid
src/alter.c
src/expr.c
src/fkey.c
src/parse.y
src/resolve.c
src/select.c
src/sqliteInt.h
src/treeview.c
src/vtab.c
src/walker.c
src/wherecode.c
src/whereexpr.c
src/window.c