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

Double references to plug-ins and instances #42

Open
mottosso opened this issue Jun 1, 2016 · 0 comments
Open

Double references to plug-ins and instances #42

mottosso opened this issue Jun 1, 2016 · 0 comments

Comments

@mottosso
Copy link
Member

mottosso commented Jun 1, 2016

Goal

Optimise memory layout and reference count.

Motivation

At the moment, instances are stored twice; once in the controller and once in the model.

The same goes for plug-ins.

This is dirty makes it unclear which of the two paths to take for access to these objects.

Implementation

Store both the Context and plug-ins in the corresponding model, and access it only from there. This includes the control.py:_iterator() which will need some minor refactoring to work that way.

tokejepsen pushed a commit to tokejepsen/pyblish-lite that referenced this issue May 22, 2020
tokejepsen pushed a commit to tokejepsen/pyblish-lite that referenced this issue May 22, 2020
…es_on_collect

bugfix/toggleable_instances_on_collect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant