Crates.io | hytra |
lib.rs | hytra |
version | 0.1.2 |
source | src |
created_at | 2021-03-18 15:09:50.668581 |
updated_at | 2021-03-19 09:48:45.529063 |
description | Datastructure for fast multi-threaded updates. |
homepage | |
repository | https://github.com/cassiersg/hytra |
max_upload_size | |
id | 370542 |
size | 27,590 |
A beast that eats your data from many threads.
This library provides the
TrAcc
type, which allows
you to accumulate data in a single logical variable at maximum performance:
each thread uses its own copy of the data, which removes conention slowdown.
Hytra has been inspired by Java's
LongAccumulator
,
DoubleAccumulator
,
LongAdder
and
DoubleAdder
.
This crate's minimum supported Rust version (MSRV) is 1.36.0.
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.