Damien George
95836f8439
py: Add MICROPY_QSTR_BYTES_IN_LEN config option, defaulting to 1.
...
This new config option sets how many fixed-number-of-bytes to use to
store the length of each qstr. Previously this was hard coded to 2,
but, as per issue #1056 , this is considered overkill since no-one
needs identifiers longer than 255 bytes.
With this patch the number of bytes for the length is configurable, and
defaults to 1 byte. The configuration option filters through to the
makeqstrdata.py script.
Code size savings going from 2 to 1 byte:
- unix x64 down by 592 bytes
- stmhal down by 1148 bytes
- bare-arm down by 284 bytes
Also has RAM savings, and will be slightly more efficient in execution.
2015-01-11 22:27:30 +00:00
..
2015-01-02 16:53:54 +01:00
2015-01-01 20:32:09 +00:00
2015-01-01 18:07:43 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 18:07:43 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 18:07:43 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 18:07:43 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-10 14:07:24 +00:00
2014-12-27 16:12:17 +02:00
2015-01-01 20:32:09 +00:00
2015-01-07 21:07:23 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-11 14:37:06 +00:00
2015-01-07 20:33:00 +00:00
2014-12-27 17:33:30 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-11 22:27:30 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2014-12-29 01:02:19 +00:00
2014-06-07 13:14:45 +01:00
2014-11-06 18:48:38 +00:00
2015-01-01 20:32:09 +00:00
2015-01-04 13:26:43 +02:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-09 20:37:49 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-11 22:27:30 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-09 20:58:58 +00:00
2015-01-02 22:31:41 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-08 16:24:44 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-11 15:13:18 +00:00
2015-01-11 21:07:15 +00:00
2015-01-04 17:19:16 +02:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-11 21:07:15 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 12:10:47 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-11 21:07:15 +00:00
2015-01-04 00:26:31 +02:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-11 21:07:15 +00:00
2015-01-07 21:07:23 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2014-06-07 09:16:42 +02:00
2015-01-07 20:33:00 +00:00
2015-01-11 22:27:30 +00:00
2015-01-11 22:06:53 +00:00
2015-01-11 22:27:30 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2014-12-27 16:12:17 +02:00
2015-01-07 20:33:00 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 00:29:15 +02:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 20:33:00 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-07 21:07:23 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00
2015-01-01 20:32:09 +00:00