-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
The performance of matrix operations is optimized for matrices containing a single datatype (like numbers). This only applies when a matrix is created passing the datatype. The performance can probably be improved a lot by automatically detecting the datatype of matrix contents on creation.
From this I see two interesting action points:
- When creating a matrix, the datatype (like
number) should be automatically determined so any calculations on this matrix are way faster. - Maybe the matrix type should be determined lazily.
- From the benchmarks, I don't see a difference in performance for
detwhilst it should be much faster. I think that maybe the datatype information is lost inside, maybe insidelup. If we can fix that it would mean another huge bump in the performance ofdet:), see Improve performance of determinant #908
For reference: #1154 (comment), #908 (comment)