4353ac6797
`Arc` is already a reference internally, so it does not seem to be beneficial to pass a reference to it. Just adds an extra layer of indirection. Functions that need to be able to increment `Arc` reference count need to take `Arc<AtomicBool>`, but those that just want to read the `AtomicBool` value can accept `&AtomicBool`, making them a bit more generic. This change focuses specifically on `Arc<AtomicBool>`. There are other uses of `&Arc<T>` in the code base that could be converted in a similar manner. But it would make the change even larger. |
||
---|---|---|
.. | ||
benches | ||
src | ||
.gitignore | ||
Cargo.toml |