commit | 7d8ef139ea2224afe875ff44531a7218c697946b | [log] [tgz] |
---|---|---|
author | Jeongik Cha <jeongik@google.com> | Thu Sep 14 16:28:25 2023 +0900 |
committer | Jeongik Cha <jeongik@google.com> | Wed Sep 27 03:09:56 2023 +0900 |
tree | f88ae15e69b2bbf985aeb8943dbe6a3a676b9d14 | |
parent | 855eeef1fe8c65b150ea1bcda4408854411f0100 [diff] |
Import arc-swap Bug: 277909042 Test: build Change-Id: Id0bea2de35386f20784aeb411ea9999eaf905de8
This provides something similar to what RwLock<Arc<T>>
is or what Atomic<Arc<T>>
would be if it existed, optimized for read-mostly write-seldom scenarios, with consistent performance characteristics.
Read the documentation before using.
The 1. version will build on any edition 2018 capable compiler. This does not include:
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.