Community
Participate
Working Groups
The clear() methods of the WritableList and SimplePropertyObservableMap classes do not perform well for larger lists. In WritableList the problem is that the wrapped list is not just cleared but its elements are removed through an iterator one at a time (at the front, which imposes some additional overhead). In SimplePropertyObservableMap the clear() method is not implemented and the base implementation implements it by iterating through the entry set and removing every entry individually.
Created attachment 185797 [details] patch
Matthew, +1?
Moving to M6 (this week is M5 milestone week and we should be done with M5 work by now).
+1
Thanks, Matthew! Released to HEAD > 20110131