[libcxx-commits] [libcxx] [libcxx] Avoid hash key in __hash_table::find() if it is empty. (PR #126837)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 9 01:01:25 PDT 2025
================
@@ -0,0 +1,97 @@
+//===----------------------------------------------------------------------===//
----------------
xbcnn wrote:
Is it necessary to add `->Arg(0)` to `bench` in `associative_container_benchmarks.h`?
```
auto bench = [&](std::string operation, auto f) {
benchmark::RegisterBenchmark(container + "::" + operation, f)->Arg(0)->Arg(32)->Arg(1024)->Arg(8192);
};
```
https://github.com/llvm/llvm-project/pull/126837
More information about the libcxx-commits
mailing list