Minor performance improvement: avoid unnecessary creation/unioning of
Tom Lane <tgl@sss.pgh.pa.us>
Minor performance improvement: avoid unnecessary creation/unioning of bitmaps for multiple indexscans. Instead just let each indexscan add TIDs directly into the BitmapOr node's result bitmap.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeBitmapAnd.c | modified | +6 −3 |
| src/backend/executor/nodeBitmapIndexscan.c | modified | +18 −3 |
| src/backend/executor/nodeBitmapOr.c | modified | +38 −10 |
| src/include/nodes/execnodes.h | modified | +3 −1 |