Hi,

I built Postgres trunk with the recent Bison beta, and everything
works fine, at least as far as our regression tests are concerned.

I also wanted to see if api.token.raw offered any speedup at all.
After ripping out all the single-character literal tokens from the
Postgres grammars, I got it to work and I can see that YYTRANSLATE is
now a no-op. Using a micro-benchmark that isolates raw parsing (Flex +
Bison), the api.token.raw option increases performance by about
1.7-1.9%.

--
John Naylor                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Reply via email to