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 (and maybe speed?) optimise EEPROM reader #126

Merged
merged 8 commits into from
Oct 27, 2023
Merged

Conversation

jamwaffles
Copy link
Collaborator

Baseline master:

   text    data     bss     dec     hex filename
  89072     112   52784  141968   22a90 ethercrab-stm32-embassy

This branch

   text    data     bss     dec     hex filename
  87348     112   52784  140244   223d4 ethercrab-stm32-embassy

There was a brief experiment using an iterator instead of a heapless::Dequeue which made for more elegant code but alas a code size increase.

@jamwaffles jamwaffles enabled auto-merge (squash) October 27, 2023 22:43
@jamwaffles jamwaffles merged commit 4b1647d into master Oct 27, 2023
7 checks passed
@jamwaffles jamwaffles deleted the optimised-eeprom branch October 27, 2023 22:45
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