Open
Description
From #18
We are currently using pyrr
for matrix operations. The main problem with pyrr
is that it crates new instances for every calculation allocating a new ndarray
. This is very expensive.
As an example:
https://github.com/adamlwgriffiths/Pyrr/blob/a86968b7ed242017247e27ac8a0e7b84bca0c333/pyrr/matrix44.py#L223-L236
numpy.dot
has an out
parameter to store the result in an existing ndarray
. This avoids memory allocation.