Eric Coissac c18c5d2600 feat: add sum and sumadd methods to PersistentCompactIntVec
Adds a `sum()` method to compute the aggregate of all elements using u64 arithmetic to safely handle potential overflows. Introduces a `sumadd()` method for element-wise addition into the builder, enforcing strict length equality and using `checked_add` for safe accumulation. Includes unit tests to verify correct aggregation and overflow safety.
2026-05-13 21:49:22 +08:00
S
Description
No description provided
Readme
381 MiB
0 Stars 1 Watchers 0 Forks
v1.4.5
Latest
2026-11-19 06:27:02 +00:00
Languages
HTML 50.8%
Rust 42.2%
Shell 2.2%
Python 2.1%
TeX 1.6%
Other 1%