Re: Parser Cruft in gram.y - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Parser Cruft in gram.y
Date
Msg-id 20121220153555.GH4303@awork2.anarazel.de
Whole thread Raw
In response to Re: Parser Cruft in gram.y  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On 2012-12-20 16:04:49 +0100, Andres Freund wrote:
> On 2012-12-20 15:51:37 +0100, Andres Freund wrote:
> When doing a source/assembly annotation in SearchCatCache about half of
> the misses are attributed to the memcpy() directly at the beginning.

Using a separate array for storing the arguments instead of copying &
modifying cache->cc_skey yields a 2% speedup in pgbench -S for me...

The attached patch is clearly not ready and I don't really have time &
energy to pursue it right now, but it seems interesting enough to
post. The approach seems solid and sensible although the implementation
is not (too much c&p, no comments).

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Josh Kupershmidt
Date:
Subject: Re: discarding duplicate indexes
Next
From: Tom Lane
Date:
Subject: Re: operator dependency of commutator and negator, redux