summaryrefslogtreecommitdiff
path: root/py/binary.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-08-15 09:56:26 +1000
committerDamien George <damien@micropython.org>2022-08-19 23:31:28 +1000
commitc616721b1afe176c8d760afc15a93621d411c1dc (patch)
treea00fea6f9a43e925bfe8e6f63979a190bcea8cd9 /py/binary.c
parent04a655c74488128a2c1af9ba8f29fce5e5bbfef9 (diff)
extmod/modframebuf: Improve poly-fill boundary pixels.
Rather than drawing the entire boundary to catch missing pixels, just detect the cases where boundary pixels are skipped during node calculation and pre-emptively draw them then. This adds 72 bytes on PYBV11, but makes filled poly() 20% faster. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/binary.c')
0 files changed, 0 insertions, 0 deletions