circuitpython/supervisor
Jeff Epler 4d8b354c13
Use qstrs to improve compression
any qstr of >= 3 chars long is a candidate for use; the input byte value
(1) is used to indicate a fixed-length qstr number follows.

Before accounting for the code size changes, this saves ~100 bytes
on trinket m0, but it may end up being a wash due to added code.

A cutoff of length>2 is slightly better for ja and ru and worse for others.
This has to do with the relative frequency of latin characters vs non-latin
characters, is my guess.

lang    after   before  change (- = more free space)
en_US   3132    2996    -134
fr      2136    2060    -76
ja      1916    1724    -232
ru      2196    2000    -196
2023-08-23 15:16:53 -05:00
..
shared Use qstrs to improve compression 2023-08-23 15:16:53 -05:00
stub Fix stub 2023-03-22 09:24:03 -07:00
background_callback.h Fix ticks 2023-04-07 09:49:51 -07:00
board.h Move hook implementation to supervisor 2022-04-18 14:09:36 +00:00
cpu.h Mark pointers in cpu registers as in use. 2018-07-03 05:45:50 -07:00
fatfs.h Enable* web workflow for Pico W 2022-11-21 16:24:05 -08:00
filesystem.h Get CIRCUITPY FATFS directly. 2022-08-04 16:06:27 -07:00
flash_root_pointers.h Automatically count EXTERNAL_FLASH_DEVICES (mk2) 2021-03-07 12:51:47 -06:00
flash.h update storage extension implementation 2022-10-06 09:19:56 +05:30
linker.h pre-commit fixes 2023-08-14 00:59:22 -04:00
memory.h run code formatting script 2021-03-15 19:27:36 +05:30
port.h Fix ticks 2023-04-07 09:49:51 -07:00
serial.h finish status bar internal simplification 2022-09-27 15:14:40 -04:00
spi_flash_api.h Fix devices include by splitting type from defines 2021-03-25 11:37:08 -07:00
supervisor.mk merge latest adafruit/main 2023-08-13 19:43:54 -04:00
usb.h usb host keyboard: add keymap support 2023-07-12 07:04:56 -05:00
workflow.h Wi-Fi autoconnect and title bar status 2022-06-09 14:55:54 -07:00