[libcxx-commits] [libcxx] [libc++] __key_equiv is sometimes unused, sometimes 2x expensive (PR #175087)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 9 00:12:10 PST 2026


================
@@ -1137,9 +1137,9 @@ class flat_map {
 
   struct __key_equiv {
----------------
frederick-vs-ja wrote:

If we want to reform the functors in this way, we should rename them (maybe to `__key_greater_or_equal_to` or `__key_not_less`).

Also, we should post benchmark results somewhere.

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


More information about the libcxx-commits mailing list