[PATCH] D16672: SmallPtrSet: Avoid initializing Array in the small case.

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 19:41:34 PST 2016


MatzeB updated this revision to Diff 46335.
MatzeB added a comment.

Thanks for the review and IRC discussion yesterday.
This version starts putting tombstones into the small set, which allows a simpler iterator design because erase() does not change the end() iterator anymore.


Repository:
  rL LLVM

http://reviews.llvm.org/D16672

Files:
  include/llvm/ADT/SmallPtrSet.h
  lib/Support/SmallPtrSet.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16672.46335.patch
Type: text/x-patch
Size: 13136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160129/8e0a4430/attachment.bin>


More information about the llvm-commits mailing list