[all-commits] [llvm/llvm-project] 3085e4: [libc++] Don't call key_eq in unordered_map/set re...
itrofimow via All-commits
all-commits at lists.llvm.org
Sun Jul 10 02:44:25 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3085e42f80ac09e53864380ea1c71f3adb643d7c
https://github.com/llvm/llvm-project/commit/3085e42f80ac09e53864380ea1c71f3adb643d7c
Author: Ivan Trofimov <i.trofimow at yandex.ru>
Date: 2022-07-10 (Sun, 10 Jul 2022)
Changed paths:
M libcxx/benchmarks/ContainerBenchmarks.h
M libcxx/benchmarks/unordered_set_operations.bench.cpp
M libcxx/include/__hash_table
M libcxx/include/ext/hash_map
M libcxx/include/ext/hash_set
M libcxx/include/unordered_map
M libcxx/include/unordered_set
Log Message:
-----------
[libc++] Don't call key_eq in unordered_map/set rehashing routine
As of now containers key_eq might get called when rehashing happens, which is redundant for unique keys containers.
Reviewed By: #libc, philnik, Mordante
Differential Revision: https://reviews.llvm.org/D128021
More information about the All-commits
mailing list