Re: [HACKERS] Small improvement to get_base_rel_indexes()

2015-08-15 Thread Tom Lane
David Rowley writes: > Attached is a small patch which improves the way get_base_rel_indexes() > works. > The current version creates a new bitmapset on each recursion level then > bms_joins() to the one on the next level up each time. I understand that > this will patch will have about a 0 net p

[HACKERS] Small improvement to get_base_rel_indexes()

2015-08-15 Thread David Rowley
Attached is a small patch which improves the way get_base_rel_indexes() works. The current version creates a new bitmapset on each recursion level then bms_joins() to the one on the next level up each time. I understand that this will patch will have about a 0 net performance improvement, but I th