Commit 1538d01b authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Optimization of RMSD calculation

Two types of optimization implemented:

1. Tensor is used instead of Matrix. This allows avoiding the extra
allocations required in Matrix to setup the workspace, since the
needed space is now on the stack rather than on the heap

2. When align==displace, only lower eigenvalue is computed.

Overall, these changes result in a 5-10% speedup of rt46 on my mac
parent ad1b894d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment