[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] faster RigidBody::get_reference_frame()



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 <" target="_blank">> 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