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

Wrap large Matlab value classes #16

Open
mducle opened this issue Jun 15, 2022 · 0 comments
Open

Wrap large Matlab value classes #16

mducle opened this issue Jun 15, 2022 · 0 comments

Comments

@mducle
Copy link
Member

mducle commented Jun 15, 2022

Some Horace classes were designed as value classes - this includes all the re-written sqw, dnd, multifit and tobyfit classes which are extremely slow in Python because any changes to their properties which does not use explicit getter/setters needs to re-assign the class back, which involves copying a massive amount of data.

As such these classes should be wrapped in Python so they behave more like Python classes (e.g. what Matlab calls "handle" classes).

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

No branches or pull requests

1 participant