adammhaile/RPi-LPD8806 — pull request #18 by mrizvic (2014-09-03 12:37:49+00:00)
Title: speed improvement

I need one LED to travel along the strip as fast as possible. I have 5m strip with 260 LEDs (130 LPD8806 chips). When I first tried with code from adammhaile's repo the led.update() execution time took about 70ms on my raspberrypi configuration. With following code modification I first build the whole spibuffer in RAM using for loop. After for loop finishes its only one write and flush operation. With this improvement the led.update() execution time dropped to about 3ms which I find great. Please comment that.