you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago (4 children)

You mean mutex? Arc allows synchronous read only access by multiple threads, so it's not a performance bottleneck. Locking a mutex would be one.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 5 points 1 year ago (2 children)

    Arc is not free, and the extra atomic operations + heap allocations can become a bottleneck.

  • source
  • parent
  • hideshow 2 child comments