[libcxx-commits] [libcxx] [libc++] std::cmp_less and other integer comparison functions could be improved (PR #151332)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 1 05:34:20 PDT 2025


kisuhorikka wrote:

> Could we get some benchmarks for this change in `libcxx/test/benchmarks/`?

Original benchmarks like `cmp_less.pass.cpp` contain all comparison between signed or unsigned types, max/min, positive/negative values along with their orthogonal combination. It seems that no cases are ignored (I think).

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


More information about the libcxx-commits mailing list