iamtawinan / lolshield

Automatically exported from code.google.com/p/lolshield
0 stars 0 forks source link

Optimisation for Set() #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When running in 'black and white' (i.e. non-GRAYSCALE) mode, there's no need 
for Set to run through the for loops or increment pointers.

The attached patch provides a noticeable improvement when Set() is being called 
as rapidly as possible.

Original issue reported on code.google.com by gc...@loowis.durge.org on 17 Nov 2013 at 4:38

Attachments: