[libcxx-commits] [libcxx] [libcxx] Avoid hash key in __hash_table::find() if no buckets yet. (PR #126837)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 13 18:36:46 PST 2025


xbcnn wrote:

We could go ahead to double check `size() != 0` before do actual lookup operations.  Hash table could be already have buckets but still empty. 

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


More information about the libcxx-commits mailing list