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

Finally get rid of shared_ptr #225

Open
ManifoldFR opened this issue Oct 5, 2024 · 0 comments
Open

Finally get rid of shared_ptr #225

ManifoldFR opened this issue Oct 5, 2024 · 0 comments

Comments

@ManifoldFR
Copy link
Member

ManifoldFR commented Oct 5, 2024

Right now the Data structs are handled (allocated by factory using Model::createData() member functions) as std::shared_ptr of their base classes. shared_ptr is heavy, has an atomic lock, and is super slow. We should get rid of them entirely.

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