Menu

Commit [r25986]  Maximize  Restore  History

Merged revisions 25985 via svnmerge from

svn+ssh://bugman@.../svn/relax/trunk

........
r25985 | bugman | 2014-09-23 21:36:33 +0200 (Tue, 23 Sep 2014) | 9 lines

Massive speed up of the internal structural object add_model() method.

This speeds up the structure.add_model user function, as well as many internal relax operations on
the structural object. Instead of using the copy.deepcopy() function to duplicate an already
existing structural model, now new molecule container objects are created and then the individual
elements of the original molecule container data lists are copied one by one. This avoids copying a
lot of internal Python junk and hence the copying operation is now orders of magnitude faster.
........

bugman 2014-09-23

changed /branches/frame_order_cleanup
changed /branches/frame_order_cleanup/lib/structure/internal/object.py
/branches/frame_order_cleanup/lib/structure/internal/object.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.