Re: tsearch parser inefficiency if text includes urls or emails - new version

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>, Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, oleg@sai.msu.su, teodor@sigaev.ru
Date: 2009-12-08T19:43:12Z
Lists: pgsql-hackers
Greg Smith <greg@2ndquadrant.com> writes:
> Kevin Grittner wrote:
>> Anyway, I'm not sure whether your reply directly answers the point
>> I was raising -- peg doesn't do anything with the compiler
>> optimization flags under the covers, does it?
>> 
> Not really.  It does this:

> PGDEBUG="--enable-cassert --enable-debug"
> ./configure --prefix=$PGINST/$PGPROJECT --enable-depend 
> --enable-thread-safety $PGDEBUG

--enable-cassert might have a noticeable performance impact.
We usually try to not have that on when doing performance testing.

			regards, tom lane