]> git.ipfire.org Git - thirdparty/sqlite.git/commit
In the LEMON-generated parser, rearrange the meanings of integer action codes
authordrh <drh@noemail.net>
Sun, 24 Dec 2017 23:38:10 +0000 (23:38 +0000)
committerdrh <drh@noemail.net>
Sun, 24 Dec 2017 23:38:10 +0000 (23:38 +0000)
commit5c8241b8750ce919b4151761a1d721af58bfbf7b
treecf9d635fb1bb4a0d32f0c9ed9a1f1ad8bbd5d9b3
parente58f74f680f97f382db35215b22203b3b10abb30
In the LEMON-generated parser, rearrange the meanings of integer action codes
so that reduce actions occur last.  This means that the most common case
(reduce actions) can be recognized with a single comparison operation, thus
speeding up the main parser loop, slightly.

FossilOrigin-Name: 7bfe7a360261ac7227840db49487c2f0fe338a2f1b868fcaada1e04a8d2b8f7a
manifest
manifest.uuid
tool/lemon.c
tool/lempar.c