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

GObject.Type: Mark struct as readonly and make it a record #1117

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

badcel
Copy link
Member

@badcel badcel commented Sep 3, 2024

This improves performance as a generated equality function is used instead of a runtime check and allows for further compiler optimizations.

  • I agree that my contribution may be licensed either under MIT or any version of LGPL license.

This improves performance as a generated equality function is used instead of a runtime check and allows for further compiler optimizations.
@badcel badcel merged commit 466825a into main Sep 3, 2024
3 checks passed
@badcel badcel deleted the gtype-as-struct-record branch September 3, 2024 18:56
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.

1 participant