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

Use MaybeUninit instead of Option #9

Open
gimbling-away opened this issue Jul 20, 2023 · 1 comment
Open

Use MaybeUninit instead of Option #9

gimbling-away opened this issue Jul 20, 2023 · 1 comment

Comments

@gimbling-away
Copy link

Since the generated code ends up doing unwrap_unchecked anyways, consider using MaybeUninit instead of Option as it won't add an unnecessary enum tag on every field (Saving space)

@maminrayej
Copy link
Owner

Hi :)
You're right. I'm currently working on some new features and a refactor in the refactor branch. I'll add your suggestion to it before merging it into main.

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

2 participants