[libcxx-commits] [libcxx] [libc++] P2530R3: Implementation of std::hazard_pointer (PR #218218)

Nikita Grivin via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 7 11:33:32 PDT 2026


MindSpectre wrote:

Benchmarks: geometric mean of ns/op over 54 folly scenarios is 1.25x compared to folly. Adding asymmetric fence + additional noinline to save sockets gets us to the 0.97x ratio.

I have attached the report here and also uploaded it to the RFC.
[libcxx-hazard-pointer-benchmarks.pdf](https://github.com/user-attachments/files/31923337/libcxx-hazard-pointer-benchmarks.pdf)


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


More information about the libcxx-commits mailing list