]> git.ipfire.org Git - thirdparty/sqlite.git/commit
In the lemon-generated parser, store the number of symbols on the RHS of each
authordrh <drh@noemail.net>
Wed, 28 Jun 2017 13:47:56 +0000 (13:47 +0000)
committerdrh <drh@noemail.net>
Wed, 28 Jun 2017 13:47:56 +0000 (13:47 +0000)
commit6be95366c7ea598b7a11ba09814db507472cabb0
tree021171e2da70a6638ba986cf3ed5373c545c94e0
parentbd8fcc130afb9873eec8d762a41fac6d83f5158b
In the lemon-generated parser, store the number of symbols on the RHS of each
rule as a negative number and add it to the stack pointer, rather than storing
the value as a positive and subtracting it.  This makes the parser faster.

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