Closed darkjh closed 4 years ago
When doing memory profiling of my application, I found out that there's a huge amount of boxing of doubles. After some investigation it seems that this line is the problem:
double
https://github.com/scalanlp/breeze/blob/master/math/src/main/scala/breeze/linalg/CSCMatrix.scala#L467
It would be nice if we can find a way to avoid boxing here.
When doing memory profiling of my application, I found out that there's a huge amount of boxing of
double
s. After some investigation it seems that this line is the problem:https://github.com/scalanlp/breeze/blob/master/math/src/main/scala/breeze/linalg/CSCMatrix.scala#L467
It would be nice if we can find a way to avoid boxing here.