Menu

Commit [r22054]  Maximize  Restore  History

Merged revisions 22051-22053 via svnmerge from

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

........
r22051 | bugman | 2014-01-27 19:23:47 +0100 (Mon, 27 Jan 2014) | 6 lines

More speed ups for the internal structural object when huge numbers of models are present.

Another loop over the structural_data object has been eliminated from the PDB reading load_pdb()
method.
........
r22052 | bugman | 2014-01-27 20:42:01 +0100 (Mon, 27 Jan 2014) | 6 lines

Another optimisation for the internal structural object for large numbers of models.

The ModelList.add_item() method no longer loops over all models to check if a model is already
present, instead using the new current_models list.
........
r22053 | bugman | 2014-01-27 21:49:32 +0100 (Mon, 27 Jan 2014) | 8 lines

Yet more optimisation for handling large quantities of models in the internal structural model.

Now when adding new models to the object, the model_indices and model_list objects are no longer
created. This saves much time as the large model_list is now not sorted. A number of structural
object methods have been updated to handle the change by switching to the model_loop() method for
looping over the models, rather than using the model_indices and model_list objects.
........

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.