mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
Instead of converting to a small-int at runtime this can be done at compile time, then we only have a simple comparison during runtime. This reduces code size on some ports (e.g -4 on qemu-arm, -52 on unix nanbox), and for others at least doesn't increase code size.
18 KiB
18 KiB