gpolak/LFHeatMap — pull request #1 by micazeve (2014-09-04 15:59:17+00:00)
Title: [UPD] Some speed optimizations

Hi ! I have already worked on heatzone images, so I added some optimisations in your class.
When you fill the RGBA buffer, some tests can be avoided in order to save some time, by initializing the RGBA buffer to 0.
Second "optimization" was to remplace the time-consuming array shifting by setting the weight to a negative value and testing the weight. The tests are also time-consuming but it looks faster.