Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Node.add_{in, out}_connector(). #1828

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

philip-paul-mueller
Copy link
Collaborator

Before every time the function was (shallow) copying the dict upon a change. This was done to make use of the implicit casting functionality of the DictProperty, however, it is not very efficient. This commit changes the implementation of the function to perform the casting explicitly, thus avoiding the need to copy the dict every time.
This will also increase the performance of the whole tool chain.

…of the node.

Before every time the function was (shallow) copying the `dict` upon a change.
This was done to make use of the implicit casting functionality of the `DictProperty`, however, it is not very efficient.
This commit changes the implementation of the function to perform the casting explicitly, thus avoiding the need to copy the `dict` every time.
@phschaad phschaad added this pull request to the merge queue Dec 16, 2024
Merged via the queue into spcl:main with commit 6156243 Dec 16, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants