kmath
kmath copied to clipboard
Find a way to optimize FastHistogram creation
Currently it allocates the whole histogram in memory and does it slowly (6 s for default 3d histogram). Probably it is possible to make allocation lazy for individual bins.
The allocation was slow partially before vector algebra inside bin creation which was slow. Partially fixed by 15cc4a22e273f8fbff7a88b71ad09ac15d89b223 . Still need to work on that.