Letractively / choosel

Automatically exported from code.google.com/p/choosel
0 stars 0 forks source link

Selection performance problem when selecting 1000 out of 10000 resources #110

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create random 10000 resources (Benchmark, Chrome)
2. Add them to bar chart
3. Group by chart into 10 bar (text_2)
4. Select one of those bars

What is the expected output? What do you see instead?
The selection should be immediately created, but it takes several seconds.

Original issue reported on code.google.com by Lars.Grammel on 7 Dec 2010 at 12:00

GoogleCodeExporter commented 8 years ago
The problem stems from the AbstractResourceSet.switchSelection(ResourceSet) 
implementation which fires multiple event. We might need to change the event 
handling mechanism for resource sets to fire combined events that contain added 
and removed resources.

Original comment by Lars.Grammel on 8 Dec 2010 at 10:21

GoogleCodeExporter commented 8 years ago
Introduced events fired by ResourceSets that contain both added and removed 
resources. Removed older event mechanism from ResourceSets.

Original comment by Lars.Grammel on 9 Dec 2010 at 1:49