Bug 184385 - SetItemCount() in Table extremly slow on MacOSX when lowering itemcount
Summary: SetItemCount() in Table extremly slow on MacOSX when lowering itemcount
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2007-04-27 05:00 EDT by Yves Harms CLA
Modified: 2007-05-17 17:14 EDT (History)
0 users

See Also:


Attachments
example snippet (modified SWT example snippet) (2.09 KB, text/plain)
2007-04-27 05:02 EDT, Yves Harms CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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