tweedegolf / sequential-storage

A crate for storing data in flash memory with minimal need for erasing pages
Apache License 2.0
87 stars 8 forks source link

Binary size optimizations and map interface changes #35

Closed diondokter closed 4 months ago

diondokter commented 4 months ago

Fixes #34 Fixes #36

diondokter commented 4 months ago

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 commented 4 months ago

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