model-writtenrun 7289 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened a separate thread with a list-of-Bitmapset implementation that avoided comparing complete Var nodes during antijoin detection, supporting his outer-join-variable work while offering an independently committable performance improvement #1.
- Amit Langote supported making the helpers generic, discussed a wrapper structure for clarity, and requested clearer argument documentation; Alvaro Herrera requested an overall explanation, favored shorter names, and questioned how incorrect list contents would be detected #2 #3.
- Tom retained the List representation, moved the helpers into dedicated multibitmapset source and header files, adopted mbms_* names and clearer argument names, added mbms_is_member, and used checked Bitmapset casts to detect incorrect contents, leaving further operations for future needs #4.
- Tom explained that extending the first list only guarantees it is at least as long as the second, resolving Amit's concern about the iteration comment #5; Amit then accepted that explanation and said the latest version looked good #6.
- The supplied thread ends with that favorable review, and Tom subsequently committed #4 as e9e26b5e71, adding only comments about in-place union and intersection and landing the complete submitted change.
- The attribution in the related outer-join-variable thread thread #46186 confirms that the committed multibitmapset implementation came from #4 in this thread, superseding that thread's earlier implementation.