You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2025. It is now read-only.
count me is extreeeemly slow under contention. This is expected, becaues the current imple is roughly loop { be_slow() }.
We should make it faster.
I see two approaches:
Use therad-local hash maps, which are registered with a global map on thread creation (Arc/Weak). I think this is possible with the current API. Must not regress single thread perf though!
Back each variable by atomic relaxed counter. This I think would need an FastCount type and fast_count! macro.