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
382 MiB
0 Stars 1 Watchers 0 Forks
v1.3.5
Latest
2026-09-12 05:49:49 +00:00
Languages
HTML 52.6%
Rust 42.5%
Python 1.7%
Shell 1.2%
Makefile 1%
Other 1%