[llvm-dev] [LLVM] Sparse set

Simone Atzeni via llvm-dev llvm-dev at lists.llvm.org
Thu May 4 09:14:11 PDT 2017


Hi,

are the elements in a SparseSet stored in a contiguous memory region?
Looking at the implementation, seems that each element is pushed back into a SmallVector.
If so, is it possible to retrieve that data as a chunk?
For example, if I have a std::vector underneath I would use v.data().

Thanks.
Simone


More information about the llvm-dev mailing list