[libcxx-commits] [libcxx] [libc++] Improve performance of std::midpoint for small types (PR #192804)

Max Graey via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 18 12:06:39 PDT 2026


MaxGraey wrote:

I think midpoint could be done better:
https://godbolt.org/z/dxnco43r6

utilize branchless algorithm from Hacker's Delight

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


More information about the libcxx-commits mailing list