« Previous | Next » 

Revision 256810de

ID256810de286c67c4ae68acbdb009ec94d4ca7776

Added by Iustin Pop about 15 years ago

A small optimization in node computation

Currently we always compute the available node list for moves (for an
instances) based on the nodes of the initial table. This works find,
however is a repeated calculation.

We optimize this by passing a node list (of indexes, not full objects),
which helps in two ways:
- faster to filter later
- allows restriction of target nodes by enforcing only this subset as
target for moves

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences