[PATCH] D48504: [WIP] Add InsertionOrderSet, with constant-time insertion and removal.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 26 02:48:56 PDT 2018


labrinea added a comment.

Another thing to consider maybe is the complexity of iteration over the vector. Imagine the case where we insert N elements and we erase M with M being almost the size of N. The iteration will be O(N) and not O(N-M).


Repository:
  rL LLVM

https://reviews.llvm.org/D48504





More information about the llvm-commits mailing list