Menu

Commit [r27712]  Maximize  Restore  History

Large speed up of the structure.web_of_motion user function.

With the introduction of the _sort() internal structural object method and it being called by the
add_atom(), the structure.web_of_motion user function was now painfully slow. As sorting the
structural data is unnecessary for the backend of this user function, the add_atom() boolean
argument 'sort' has been added to turn the sorting on and off, and the structure.web_of_motion
backend now sets this to False.

bugman 2015-02-23

changed /trunk/lib/structure/internal/object.py
changed /trunk/pipe_control/structure/main.py
/trunk/lib/structure/internal/object.py Diff Switch to side-by-side view
Loading...
/trunk/pipe_control/structure/main.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.