circuitpython/shared-bindings/adafruit_pixelbuf
Jeff Epler adca341d3b
Save code space by packing rgbw values into C union
It's more efficient passing one register-sized structure than 4
arguments or 4 pointers; working on intermediate values of 'int' size
is also more efficient in code size!

On raspberry pi pico w, this increased free flash space by +104 bytes.
It also increased the speed of my testing animation very slightly, from
187fps to 189fps when run 'unthrottled'
2022-11-14 09:29:45 -06:00
..
__init__.c This compatibility name has been removed in 8.x 2022-11-02 17:39:34 -05:00
__init__.h Rename _pixelbuf to adafruit_pixelbuf, alias. 2021-07-16 13:31:40 -04:00
PixelBuf.c Tweak black_bindings 2022-09-30 11:18:13 -05:00
PixelBuf.h Save code space by packing rgbw values into C union 2022-11-14 09:29:45 -06:00