[Bugs] #1651 UNSP: simplify jarabe.journal.model._Cache

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Jan 12 18:03:59 EST 2010


#1651: simplify jarabe.journal.model._Cache
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  sascha_silbe               
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:  r?                         
Distribution:  Unspecified                |   Status_field:  Assigned                   
------------------------------------------+---------------------------------
 jarabe.journal.model._Cache can be simplified a great deal just by
 changing the way removes are done. This decreases memory usage (as we
 don't need to keep a dictionary that just duplicates the list) and also
 fixes a bug I encountered in my version support branch (but couldn't
 trigger on mainline).

 I've kept the class to minimize the code changes, but I cannot see a
 reason why we'd need it - a simple list should do.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1651>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list