User:Nrp/Weekly updates/20080712

From OLPC
< User:Nrp‎ | Weekly updates
Revision as of 20:33, 9 July 2008 by Nrp (talk | contribs) (tues-wed)
Jump to: navigation, search

Saturday

  • Performance testing on largest connected component. It runs at a usable speed on the XO, and about twice as fast as the other connected components function in pygame.

Sunday

  • Started writing a function to get the average color of a surface or a part of a surface.

Monday

  • Finished average color function, wrote an example script to show its use.

Tuesday

  • Worked on improving the performance of functions that access surfaces.

Wednesday

  • Finished performance improvements: average_color is 4x faster, threshold is 2x faster, and mask.from_surface is 2x faster when using per pixel alphas.
  • Documented connected_component a little better