Counting Fast in Erlang with:counters and:atomics
andrealeopardi.com
Counting Fast in Erlang with:counters and:atomics
1–6 of 6 posts
Re: Counting Fast in Erlang with:counters and:atomics
#2hm, last i checked counters were fully implemented as atomics, it seems now theres another internal bif for "write concurrency", is this new or was it always like this and did i just miss it?
Re: Counting Fast in Erlang with:counters and:atomics
#3hm, last i checked counters were fully implemented as atomics, it seems now theres another internal bif for "write concurrency", is this new or was it always like this and did i just miss it?
Already existed when it was first merged: https://github.com/erlang/otp/commit/fefb5d039e87ff7137e78b3...
Atomics were introduced a while before `counters`, maybe you remember a custom implementation on top of that?
Re: Counting Fast in Erlang with:counters and:atomics
#4What we really need is an atomic_term :)
Re: Counting Fast in Erlang with:counters and:atomics
#5[deleted]
Re: Counting Fast in Erlang with:counters and:atomics
#6hm, last i checked counters were fully implemented as atomics, it seems now theres another internal bif for "write concurrency", is this new or was it always like this and did i just miss it?
Already existed when it was first merged: https://github.com/erlang/otp/commit/fefb5d039e87ff7137e78b3... Atomics were introduced a while before `counters`, maybe you remember a custom implementation on top of that?
nah, I probably didn't quite read the code correctly. Thanks for the link.