This method is a modification of the SequencialScanlineSearch() method.

/* without while-body: avg of 1ms
* with <addr> calculation: avg of 1.4ms
* with memory accessing: avg of 6.2ms
* with Color instance creation: avg of 20ms DANG!
* with CompareColor(Color, Color, int):bool: avg of 25ms DANG!
* without Color instance creation and new CompareColor comparing only byte values: avg of 9ms
* every variable declared outside: same 9ms
* final: 9ms. Good.

Last edited Apr 13, 2011 at 4:41 PM by kovacshuni, version 1


No comments yet.