Jeff Epler fe3e8d1589 string compression: save a few bits per string
Length was stored as a 16-bit number always.  Most translations have
a max length far less.  For example, US English translation lengths
always fit in just 8 bits.  probably all languages fit in 9 bits.

This also has the side effect of reducing the alignment of
compressed_string_t from 2 bytes to 1.

testing performed: ran in german and english on pyruler, printed messages
looked right.

Firmware size, en_US
Before: 3044 bytes free in flash
After: 3408 bytes free in flash

Firmware size, de_DE (with #2967 merged to restore translations)
Before: 1236 bytes free in flash
After: 1600 bytes free in flash
2020-05-28 08:36:08 -05:00
..
2018-07-12 14:13:51 -04:00
2018-07-12 14:13:51 -04:00
2018-07-12 14:13:51 -04:00
2018-07-12 14:13:51 -04:00
2018-08-09 13:29:30 -07:00
2020-02-27 11:03:03 -06:00
2018-08-16 17:41:35 -07:00
2018-07-28 13:29:47 -04:00
2020-03-03 10:55:50 -08:00
2019-04-05 21:38:32 +02:00
2018-07-11 16:45:30 -04:00
2018-07-11 16:45:30 -04:00
2018-10-18 10:37:42 -07:00
2018-10-07 19:37:49 +02:00
2018-11-13 22:04:44 +01:00
2017-07-18 11:57:39 +10:00
2018-07-12 14:13:51 -04:00
2019-01-18 11:53:09 -08:00
2019-01-14 18:09:02 -08:00
2020-02-14 15:12:20 -05:00
2020-01-30 10:59:16 -08:00
2020-01-02 18:03:18 -05:00
2019-12-13 14:29:15 -05:00
2020-01-02 18:03:18 -05:00
2019-12-13 14:29:15 -05:00
2019-12-13 14:29:15 -05:00
2019-12-05 13:06:10 -06:00
2018-08-07 14:58:57 -07:00
2018-05-14 17:41:17 -04:00
2018-05-14 17:41:17 -04:00
2020-04-21 22:40:12 -04:00
2020-04-21 22:40:12 -04:00
2018-07-11 16:45:30 -04:00
2020-02-04 16:19:40 -05:00
2018-07-11 16:45:30 -04:00
2020-01-08 16:36:43 -06:00