Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment