An implementation of Fenwick trees (Fenwick 1994).
Data structures, either not present in standard Python libs or are asymptotically more efficient
A library for aggregating values assigned to indices by slices and the other way around