Thread: pgsql: Optimize Query jumble

pgsql: Optimize Query jumble

From
David Rowley
Date:
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(-)