Skip to content

Performance losings during multiple field connection #48

Description

@TimDomino

When a field is (accidently) connected multiple times, e.g. in an evaluation loop, to the same other field, the performance drops after some minutes of runtime.

Example:

def evaluate(self):
  self.left_eye_node.Transform.connect_from(self.sf_left_eye_transform)

Is it possible to internally check if a certain field connection was already established? With such a guard, the performance drops resulting from such mistakes could be avoided.

By the way, disconnecting and re-connecting dirtily solves the issue.

def evaluate(self):
  self.left_eye_node.Transform.disconnect()
  self.left_eye_node.Transform.connect_from(self.sf_left_eye_transform)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions