Re: reducing the footprint of ScanKeyword (was Re: Large writable variables)
David Fetter <david@fetter.org>
From: David Fetter <david@fetter.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>, Andrew Gierth <andrew@tao11.riddles.org.uk>, John Naylor <jcnaylor@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2018-12-26T16:38:41Z
Lists: pgsql-hackers
On Wed, Dec 26, 2018 at 11:22:39AM -0500, Tom Lane wrote: > > In my hands, the only part of the low-level parsing code that > commonly shows up as interesting in profiles is the Bison engine. Should we be considering others? As I understand it, steps have been made in this field since yacc was originally designed. Is LALR actually suitable for languages like SQL, or is it just there for historical reasons? Best, David. -- David Fetter <david(at)fetter(dot)org> http://fetter.org/ Phone: +1 415 235 3778 Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
Commits
-
Use perfect hashing, instead of binary search, for keyword lookup.
- c64d0cd5ce24 12.0 landed
-
Reduce the size of the fmgr_builtin_oid_index[] array.
- 8ff5f824dca7 12.0 landed
-
Replace the data structure used for keyword lookup.
- afb0d0712f1a 12.0 landed