[libcxx-commits] [libcxx] [libc++] Avoid key_eq calls in hash_table rehash (PR #216551)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 18 00:47:03 PDT 2026


xbcnn wrote:

> I'm somewhat wondering whether we should just try killing the code-path out-right and see how much breaks.

But the standard currently explicitly requires that the relative order of elements within each equivalent-key group should be preserved (see N4950 [24.2.8.1 9]). And I think this code block is meant just for that.  Correct me if I'm wrong.

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


More information about the libcxx-commits mailing list