ec886ddefb
New util LenCachingMutex can be used in place of a Mutex, when working
with collections, or other types with a len() method. When
the Guard is dropped, the value returned from len() is stored
into an AtomicUsize and can be queried using load_len() without
needing to lock the Mutex. Implementations for ```Vec``` and
```VecDeque```.
Now used in [Verification](
|
||
---|---|---|
.. | ||
benches | ||
evm | ||
light | ||
node_filter | ||
private-tx | ||
res | ||
service | ||
src | ||
stratum | ||
sync | ||
transaction | ||
types | ||
vm | ||
wasm | ||
Cargo.toml |