[libcxx-commits] [libcxx] [libc++] Introduce one-sided binary search for lower_bound on non-random iterators, and use that to improve the average complexity of set_intersection. (PR #75230)

Iuri Chaer via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 12 11:09:59 PST 2023


ichaer wrote:

OK, that's fair. How about I just stop exposing one-sided lower bound through std::lower_bound, and just use it for std::set_intersection, where all complexity guarantees are preserved, would that be OK?

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


More information about the libcxx-commits mailing list