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
383 MiB
0 Stars 1 Watchers 0 Forks
v1.4.9
Latest
2026-12-01 17:18:35 +00:00
Languages
HTML 49.2%
Rust 41.8%
Shell 3.5%
Python 2.1%
TeX 1.9%
Other 1.4%