pgsql: Optimize Query jumble - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Optimize Query jumble
Date
Msg-id E1txftg-001D5C-0r@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Optimize Query jumble

f31aad9b0 adjusted query jumbling so it no longer ignores NULL nodes
during the jumble.  This added some overhead.  Here we tune a few
things to make jumbling faster again.  This makes jumbling perform
similar or even slightly faster than prior to that change.

Author: David Rowley <dgrowleyml@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CAApHDvreP04nhTKuYsPw0F-YN+4nr4f=L72SPeFb81jfv+2c7w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ad9a23bc4f51eea829ee99c7d9940b7ac9f523e3

Modified Files
--------------
src/backend/nodes/queryjumblefuncs.c | 104 ++++++++++++++++++++++++++++++++---
1 file changed, 95 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix query jumbling to account for NULL nodes
Next
From: Michael Paquier
Date:
Subject: pgsql: libpq: Add TAP tests for service files and names