circuitpython/shared-module/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 Rename _pixelbuf to adafruit_pixelbuf, alias. 2021-07-16 13:31:40 -04:00
PixelBuf.c Save code space by packing rgbw values into C union 2022-11-14 09:29:45 -06:00
PixelBuf.h Rename _pixelbuf to adafruit_pixelbuf, alias. 2021-07-16 13:31:40 -04:00