[libcxx-commits] [libcxx] [libc++] Avoid constructing additional objects when using map::at (PR #157866)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 23 07:10:20 PDT 2025


================
@@ -16,6 +16,19 @@
 #include "../../GenerateInput.h"
 #include "benchmark/benchmark.h"
 
+static void BM_map_find_string_literal(benchmark::State& state) {
----------------
ldionne wrote:

Can we add one for `unordered_map` too?

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


More information about the libcxx-commits mailing list