Comment by pjmlp

3 years ago

So fast that Apple Silicon introduced specific memory instructions to handle ARC counters.

It did not do this, standard atomics are relatively fast because it's a unified memory system.

  • ARM also has an option for weaker consistency atomics which help with speed (and ARC does take advantage of this but not something Apple sped up specifically extra afaik in silicon)