1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00
Tom Lane f4e031c662 Add bms_next_member(), and use it where appropriate.
This patch adds a way of iterating through the members of a bitmapset
nondestructively, unlike the old way with bms_first_member().  While
bms_next_member() is very slightly slower than bms_first_member()
(at least for typical-size bitmapsets), eliminating the need to palloc
and pfree a temporary copy of the target bitmapset is a significant win.
So this method should be preferred in all cases where a temporary copy
would be necessary.

Tom Lane, with suggestions from Dean Rasheed and David Rowley
2014-11-28 13:37:25 -05:00
..
2014-01-07 16:05:30 -05:00
2014-01-07 16:05:30 -05:00
2014-05-06 12:12:18 -04:00
2014-01-07 16:05:30 -05:00
2014-01-07 16:05:30 -05:00
2014-04-01 09:27:37 +03:00
2014-01-07 16:05:30 -05:00
2014-01-07 16:05:30 -05:00
2014-01-07 16:05:30 -05:00
2012-03-15 16:08:40 -04:00
2014-05-06 12:12:18 -04:00