[libcxx-commits] [libcxx] [libc++] Optimize __hash_table::find for integral types (PR #156660)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 4 07:01:49 PDT 2025


https://github.com/ldionne requested changes to this pull request.

I'm not super convinced. I find the optimization a bit ad-hoc and the results are not super significant. I think I'd rather explore the other optimization you mentioned where you don't store the hash at all in the node if the hash function desugars to identity.

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


More information about the libcxx-commits mailing list