Menu

Commit [r22050]  Maximize  Restore  History

Merged revisions 22049 via svnmerge from

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

........
r22049 | bugman | 2014-01-27 18:54:08 +0100 (Mon, 27 Jan 2014) | 8 lines

Large speed up for the internal structural object for when many models are present.

The new ModelList.current_models object keeps track of all the models already present in the
structural object. This simplifies the checks of the pack_structs() internal structural object
method by removing expensive looping. This allows the loading of PDB files to continue to be fast
even with many tens or hundreds of thousands of models already loaded.
........

bugman 2014-01-27

changed /branches/double_rotor
changed /branches/double_rotor/lib/structure/internal/models.py
changed /branches/double_rotor/lib/structure/internal/object.py
/branches/double_rotor/lib/structure/internal/models.py Diff Switch to side-by-side view
Loading...
/branches/double_rotor/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.