Skip to content

Refactor#1

Closed
rocktronica wants to merge 21 commits intomainfrom
refactor
Closed

Refactor#1
rocktronica wants to merge 21 commits intomainfrom
refactor

Conversation

@rocktronica
Copy link
Owner

(to show pharap!)

And use its static members in Display

Before:
Sketch uses 27104 bytes (94%) of program storage space. Maximum is 28672 bytes.
Global variables use 1494 bytes (58%) of dynamic memory, leaving 1066 bytes for local variables. Maximum is 2560 bytes.

After:
Sketch uses 25444 bytes (88%) of program storage space. Maximum is 28672 bytes.
Global variables use 1474 bytes (57%) of dynamic memory, leaving 1086 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 25444 bytes (88%) of program storage space. Maximum is 28672 bytes.
Global variables use 1474 bytes (57%) of dynamic memory, leaving 1086 bytes for local variables. Maximum is 2560 bytes.

to

Sketch uses 24278 bytes (84%) of program storage space. Maximum is 28672 bytes.
Global variables use 1440 bytes (56%) of dynamic memory, leaving 1120 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 24278 bytes (84%) of program storage space. Maximum is 28672 bytes.
Global variables use 1440 bytes (56%) of dynamic memory, leaving 1120 bytes for local variables. Maximum is 2560 bytes.

to

Sketch uses 24084 bytes (83%) of program storage space. Maximum is 28672 bytes.
Global variables use 1440 bytes (56%) of dynamic memory, leaving 1120 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 24084 bytes (83%) of program storage space. Maximum is 28672 bytes.
Global variables use 1440 bytes (56%) of dynamic memory, leaving 1120 bytes for local variables. Maximum is 2560 bytes.

to

Sketch uses 23386 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1449 bytes (56%) of dynamic memory, leaving 1111 bytes for local variables. Maximum is 2560 bytes.
When in Rome...
Sketch uses 28100 bytes (98%) of program storage space. Maximum is 28672 bytes.
Global variables use 1719 bytes (67%) of dynamic memory, leaving 841 bytes for local variables. Maximum is 2560 bytes.
This one feels better to me, though the string
concatenation is a trip!
Sketch uses 23386 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1449 bytes (56%) of dynamic memory, leaving 1111 bytes for local variables. Maximum is 2560 bytes.
LOW is a totally different thing that only worked accidentally

Sketch uses 23386 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1449 bytes (56%) of dynamic memory, leaving 1111 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 23384 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1449 bytes (56%) of dynamic memory, leaving 1111 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 23384 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1449 bytes (56%) of dynamic memory, leaving 1111 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 23386 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1449 bytes (56%) of dynamic memory, leaving 1111 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 23400 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1421 bytes (55%) of dynamic memory, leaving 1139 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 23400 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1421 bytes (55%) of dynamic memory, leaving 1139 bytes for local variables. Maximum is 2560 bytes.
Sketch uses 23400 bytes (81%) of program storage space. Maximum is 28672 bytes.
Global variables use 1421 bytes (55%) of dynamic memory, leaving 1139 bytes for local variables. Maximum is 2560 bytes.
@rocktronica
Copy link
Owner Author

Merged separately outside of PR but all the commits except the last "Thank" one are the same

@rocktronica rocktronica closed this Oct 9, 2024
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