1
0
Fork 0
wasp-os/wasp
Daniel Thompson e570bf4f26 apps: calc: Optimize the fields lookup structure
Currently the fields is a list of lists of strings. This will needlessly
consume RAM so lets switch it over to a simple string (which is immutable
and can be stored in flash).

We also replace indices with simple x and y variables. In addition to
avoiding a (temporary) memory allocation this is also easier to use
when looking up in fields.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-12-29 08:59:53 +00:00
..
apps apps: calc: Optimize the fields lookup structure 2020-12-29 08:59:53 +00:00
boards apps: calc: Created memory-saving calculator app 2020-12-28 12:06:51 +00:00
drivers boards: simulator: Improve spi.write() simulation 2020-12-12 12:57:06 +00:00
fonts icons, fonts.digits: Switch over to 2-bit RLE encoding 2020-12-28 12:01:15 +00:00
modules wasp: apps: Step counter application 2020-06-09 21:31:55 +01:00
boot.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
draw565.py draw565: Allow strings to be right justified 2020-12-29 08:59:48 +00:00
gadgetbridge.py Notify level in settings app 2020-11-29 20:20:03 +00:00
icons.py icons, fonts.digits: Switch over to 2-bit RLE encoding 2020-12-28 12:01:15 +00:00
logo.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
main.py Introduction basic notification support 2020-07-19 20:50:33 +01:00
ppg.py ppg: Pull the PPG signal processing into a seperate library 2020-06-25 21:59:32 +01:00
requirements.txt simulator: Introduce fully automatic testint 2020-12-04 20:11:41 +00:00
shell.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
wasp.py widgets: BatteryMeter: Fix theme handling 2020-12-13 16:51:07 +00:00
widgets.py widgets: Reduce the size of the battery icon 2020-12-28 11:12:16 +00:00