Bug 184385

Summary: SetItemCount() in Table extremly slow on MacOSX when lowering itemcount
Product: [Eclipse Project] Platform Reporter: Yves Harms <yharms>
Component: SWTAssignee: Kevin Barnes <cocoakevin>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 Keywords: performance
Version: 3.3   
Target Milestone: 3.3 M7   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
example snippet (modified SWT example snippet) none

Description Yves Harms CLA 2007-04-27 05:00:52 EDT
Build ID: I20070323-1616

Steps To Reproduce:
1. Create a virtual table, set itemcount to 30000 items.
2. Now set itemcount to 5
3. Go drink a coffee, you have enough time until the UI is ready again.


More information:
mac only, tested with 3.3M6, and 3.2
Comment 1 Yves Harms CLA 2007-04-27 05:02:53 EDT
Created attachment 65168 [details]
example snippet (modified SWT example snippet)

Testcase
Comment 2 Yves Harms CLA 2007-04-27 05:05:24 EDT
To illustrate the use case:
We have an RCP app where you can search by some criteria in a large database.
When displaying a new search result the table is reused and the data is replaced.
Comment 3 Kevin Barnes CLA 2007-04-27 15:22:33 EDT
fixed > 20070427