#7356 NORM 8.2.0 (: regression in activity view performance.

Zarro Boogs per Child bugtracker at laptop.org
Fri Aug 22 12:20:44 EDT 2008


#7356: regression in activity view performance.
------------------------+---------------------------------------------------
   Reporter:  cscott    |       Owner:  tomeu               
       Type:  defect    |      Status:  reopened            
   Priority:  normal    |   Milestone:  8.2.0 (was Update.2)
  Component:  sugar     |     Version:  Update.1            
 Resolution:            |    Keywords:  8.2.0:? relnote     
Next_action:  finalize  |    Verified:  0                   
  Blockedby:            |    Blocking:                      
------------------------+---------------------------------------------------
Changes (by seberg):

 * cc: benzea (added)


Comment:

 As /view/home/grid.py uses numpy in any case, the nested for loops to
 calculate weight (or update the weight array) that are computed quite
 often can be spead up by using numpy slicing + numpy summing. I will
 attach a patch.
 The patch also currently changes _MAX_COLLISIONS_PER_REFRESH, I am not
 sure if this is good or not.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7356#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list