pgsql.hackers
[Top] [All Lists]

Re: Is it really such a good thing for newNode() to be a macro?

Subject: Re: Is it really such a good thing for newNode() to be a macro?
From: "Greg Stark"
Date: Wed, 27 Aug 2008 16:45:27 +0100
Newsgroups: pgsql.hackers

On Wed, Aug 27, 2008 at 4:05 PM, Heikki Linnakangas
<heikki@xxxxxxxxxxxxxxxx> wrote:
> Tom Lane wrote:
> BTW, it would be nice to have a test case that shows it's worth messing with
> that.

At a guess the parser would be a good place to look. Perhaps a
benchmark of a parsing a very large query?

One thing I wonder is if you (or someone else) gets around to doing
the simple stack allocator for the parser if it will make
microoptimizations like this more visible.

-- 
greg

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy