[PATCH] D20930: Adding reserve and capacity methods to FoldingSet

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 06:27:08 PDT 2016


bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.

I see. So capacity() is already taking the chaining into account, while GrowHashTable does not. That makes sense. It would be nice if we had a comment describing this behavior somewhere, but this patch is fine either way.


http://reviews.llvm.org/D20930





More information about the llvm-commits mailing list