Great trick for optimization so that code doesn't have to count size of array/list again and again.

  for (int i = 0, count = objectList.Count; i < count; i++)
            {
                ....... = 
objectList[i];
                if (....)
                {
                    ........
                }
            }

Comments

Popular posts from this blog

Bounding Box in PIL (Python Image Library)

Wrapper functions

PyDev with Eclipse on Mac