f4e031c662
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 |
||
---|---|---|
.. | ||
expected | ||
sql | ||
.gitignore | ||
database.c | ||
dml.c | ||
hooks.c | ||
label.c | ||
launcher | ||
Makefile | ||
proc.c | ||
relation.c | ||
schema.c | ||
selinux.c | ||
sepgsql-regtest.te | ||
sepgsql.h | ||
sepgsql.sql.in | ||
test_sepgsql | ||
uavc.c |