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

Binary size optimizations and map interface changes #35

Merged
merged 10 commits into from
Mar 28, 2024
Merged

Conversation

diondokter
Copy link
Collaborator

@diondokter diondokter commented Mar 18, 2024

Fixes #34
Fixes #36

@diondokter diondokter marked this pull request as ready for review March 27, 2024 10:11
@diondokter
Copy link
Collaborator Author

All in all the binary size went from ~9kb to ~6kb for the s-s crate only. That's roughly 33%.
Nothing is duplicated anymore and I see no more easy wins.

@diondokter diondokter changed the title Binary size optimizations Binary size optimizations and map interface changes Mar 27, 2024
@diondokter
Copy link
Collaborator Author

This PR also changes the map API because that saves on binary size as well, so that was a nice opportunity to take

src/map.rs Show resolved Hide resolved
@diondokter diondokter merged commit 28e3391 into master Mar 28, 2024
4 checks passed
@diondokter diondokter deleted the binsize-opts branch March 28, 2024 12:48
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.

Data Format of Map Values can never change Flash usage of sequential storage
2 participants