> Le 1 sept. 2019 à 18:41, Akim Demaille <[email protected]> a écrit :
> 
> The NEWS excerpt should be a good summary of the purpose of this
> series of patches:
> 
>  *** Variable api.token.raw: Optimized token numbers (all skeletons)
> 
>  In the generated parsers, tokens have two numbers: the "external" token
>  number as returned by yylex (which starts at 257), and the "internal"
>  symbol number (which starts at 3).  Each time yylex is called, a table
>  lookup maps the external token number to the internal symbol number.
> 
>  When the %define variable api.token.raw is set, tokens are assigned their
>  internal number, which saves one table lookup per token, and also saves
>  the generation of the mapping table.
> 
>  The gain is typically moderate, but in extreme cases (very simple user
>  actions), a 10% improvement can be observed.
> 
> I would really appreciate to get feedback about this.  It is currently
> available on both my GitHub account and on the official Bison repo in
> the branch 'raw'.

Well, no feedback at all in two weeks.

Has been rebased, is currently being checked by the CI, and then will
be pushed in master.

Reply via email to