[libcxx-commits] [libcxx] [libc++][hardening] Enable comparator checks for safe mode too (PR #66458)

Daniel Kutenin via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 15 09:59:09 PDT 2023


danlark1 wrote:

My opinion on that that having 2x comparisons does not change the complexity of the algorithm and it's not expensive compared to internal checks which can change it from O(log n) to O(n)

https://github.com/llvm/llvm-project/pull/66458


More information about the libcxx-commits mailing list