Re: In PG12, query with float calculations is slower than PG11 - Mailing list pgsql-hackers

From Emre Hasegeli
Subject Re: In PG12, query with float calculations is slower than PG11
Date
Msg-id CAE2gYzzi5SC5PXgxoSxaNn3xgAjTK5Zy6QNdUjURWoVAsye_Fg@mail.gmail.com
Whole thread Raw
In response to Re: In PG12, query with float calculations is slower than PG11  (Andres Freund <andres@anarazel.de>)
Responses Re: In PG12, query with float calculations is slower than PG11
List pgsql-hackers
> Wait, no. Didn't we get to the point that we figured out that the
> primary issue is the reversal of the order of what is checked is the
> primary problem, rather than the macro/inline piece?

Reversal of the order makes a small or no difference.  The
macro/inline change causes the real slowdown at least on GCC.

> Nor do I see how it's going to be ok to just rename the function in a
> stable branch.

I'll post another version to keep them around.



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Exposure related to GUC value of ssl_passphrase_command
Next
From: Andres Freund
Date:
Subject: Re: In PG12, query with float calculations is slower than PG11