Re: Some regular-expression performance hacking

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Some regular-expression performance hacking
Date: 2021-02-23 18:36:16
Message-ID: 3877789.1614105376@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2021-02-23 13:09:18 -0500, Tom Lane wrote:
>> Oddly, I see no such warning with Fedora's current compiler,
>> gcc version 10.2.1 20201125 (Red Hat 10.2.1-9) (GCC)
>> Are you using any special compiler switches?

> A few. At first I didn't see any relevant ones - but I think it's just
> that you need to use -O3 instead of -O2.

Ah-hah, -O3 plus remembering to disable assertions makes it
happen here too. Will fix.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2021-02-23 19:58:32 Re: Asynchronous and "direct" IO support for PostgreSQL.
Previous Message Tom Lane 2021-02-23 18:22:35 Re: Some regular-expression performance hacking