mirror of https://github.com/postgres/postgres
This patch adds a function that replaces a bms_membership() test followed by a bms_singleton_member() call, performing both the test and the extraction of a singleton set's member in one scan of the bitmapset. The performance advantage over the old way is probably minimal in current usage, but it seems worthwhile on notational grounds anyway. David Rowleypull/14/head
parent
f4e031c662
commit
d25367ec4f
Loading…
Reference in new issue