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

Size optimization for Option #47

Open
dragazo opened this issue Aug 25, 2023 · 0 comments · May be fixed by #48
Open

Size optimization for Option #47

dragazo opened this issue Aug 25, 2023 · 0 comments · May be fixed by #48

Comments

@dragazo
Copy link

dragazo commented Aug 25, 2023

This crate guarantees that size_of::<SmartString>() == size_of::<String>(), but it looks like size_of::<Option<SmartString>>() > size_of::<Option<String>>().

@dragazo dragazo linked a pull request Aug 25, 2023 that will close this issue
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 a pull request may close this issue.

1 participant