hmm I am actually not seeing why it is so expensive, let me check it some more before anybody answers (unless you have an irresistible urge to do so :)


On Wed, Jun 18, 2014 at 12:14 PM, Barak Raveh <barak.raveh@gmail.com> wrote:
Hi, right now RigidBody::get_reference_frame() is a common yet expensive operation (from profilng), especially within scores. The reason seems to be that IMP saves the quaternion, but not the rotation matrix. 

Would it make sense to save a cache of the rotation matrix that would update if needed? Or is it possibly that memory cost would be too high?


--
Barak



--
Barak