>>> "Bob" == Bob Rossi <[EMAIL PROTECTED]> writes:
> Well, currently, push.c only implements yyparse (). If it's in normal > mode it generates the standard pull parser, otherwise in push mode it > generates the push parser. In push.c the pull parser is just as > efficient as the yacc.c pull parser. Same for the pure parser. However, > the push parser is much less efficient. (I get 30% for the benchmark). So my reading is: there is no reason not to use push.c as the new yacc.c. > So, if we decided to change push.c to always generate a yypushparse > function, and then implement yyparse on top of the yypushparse, > then yyparse will be significantly slower than yacc.c's > yyparse. That's why I decided not to go down this route. I thought > the efficiency was probably more important. That's not exactly my claim: I say that yyparse should always (push enabled or not) refer to the pull parser. When the push mode is enabled, yyparse should refer to the yypushparse wrapper.
