curdeius added a comment.

Deque, contrary to the vector, doesn't need to move the elements when growing. 
I'm not sure if that's relevant here though.
Have you checked what's on average the maximum size of `Path` on some larger 
repo?
Maybe using `llvm::SmallVector` with some well-thought (data-based) static 
number of elements would be better here, WDYT?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115064/new/

https://reviews.llvm.org/D115064

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to