...
With profiled binaries, lemon is 61% slower, with non-profiled binaries, it's only 38% slower.
Beyond that, without refactoring, I don't know how lemon can be pushed any further. Thoughts? -sc
Please try again with the latest version of lemon in the CVS repository. The code has been refactored. yy_find_parser_action has been split up into two different routines and uses a very different algorithm. Further refinements are possible, but I'm curious to know how much this one change helped. I am unable to get your benchmark to compile on RedHat 7.3.
If you cannot get to CVS, download copies from the web interface:
http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lempar.c
-- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]