@@ -63,9 +63,10 @@ Examples: change the position of an atom, remove an atom, etc.
...
@@ -63,9 +63,10 @@ Examples: change the position of an atom, remove an atom, etc.
This optimization consists on modifying as fewer scene elements as possible and specially preventing from removal and new creation of lots of elements.
This optimization consists on modifying as fewer scene elements as possible and specially preventing from removal and new creation of lots of elements.
This requires a more fine-grained structure change event. The event needs some parameters in order to communicate the specific change (atom-change, atom-removal, atom-creation...).
This requires a **more fine-grained structure change event**. The event needs some parameters in order to communicate the specific change (atom-change, atom-removal, atom-creation...).
All the single operations with atoms (change, removal and creation) could be done in a very efficient way if it wasn't for the **required recalculation of bonds**.
I've been **refactoring and testing the atom change operation** and it's the bonds recalculation what does the operation slow and memory demanding (temporarily, eventually the memory is freed).