3 releases

0.1.2 Mar 19, 2021
0.1.1 Mar 18, 2021
0.1.0 Mar 18, 2021

#621 in Concurrency

Download history 801/week @ 2024-07-29 739/week @ 2024-08-05 1010/week @ 2024-08-12 940/week @ 2024-08-19 705/week @ 2024-08-26 796/week @ 2024-09-02 658/week @ 2024-09-09 718/week @ 2024-09-16 1347/week @ 2024-09-23 492/week @ 2024-09-30 954/week @ 2024-10-07 1249/week @ 2024-10-14 897/week @ 2024-10-21 857/week @ 2024-10-28 749/week @ 2024-11-04 596/week @ 2024-11-11

3,120 downloads per month
Used in latte-cli

MIT/Apache

11KB
78 lines

hytra

Build Status Crates.io

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.

Documentation

Minimum Rust version

This crate's minimum supported Rust version (MSRV) is 1.36.0.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~1.5MB
~30K SLoC