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

Add slots to all dataclasses #133

Open
integraledelebesgue opened this issue Jan 25, 2025 · 0 comments
Open

Add slots to all dataclasses #133

integraledelebesgue opened this issue Jan 25, 2025 · 0 comments
Labels
framework A general, framework-related topic improvement An improvement of the already existing solution

Comments

@integraledelebesgue
Copy link
Member

Rationale

The slots feature of classes in Python allows for a significant efficiency gain.
In general, our data classes are read-only and don't use prototyping. They could potentially benefit from using slots.

@integraledelebesgue integraledelebesgue converted this from a draft issue Jan 25, 2025
@integraledelebesgue integraledelebesgue added framework A general, framework-related topic improvement An improvement of the already existing solution labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework A general, framework-related topic improvement An improvement of the already existing solution
Projects
Status: Backlog
Development

No branches or pull requests

1 participant