|
Re: JFace TableViewer/Table setitemcount() slow [message #989447 is a reply to message #989198] |
Thu, 06 December 2012 09:30 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Mitch,
this is an interesting issue. Could you try to reproduce it with a plain
virtual Table (without TableViewer). This will eliminate the JFace code
and will allow as to track the issue down.
Best,
Ivan
On 12/5/2012 10:25 AM, Mitch B. wrote:
> Hi,
> (I posted this topic already in the JFace-Section without any answers
> yet)
> I use a virtual tableviewer in Eclipse RAP 1.5 to hold and display
> large datasets. After doing filter actions I set the itemcount to the
> new number of data rows which could be displayed. Now I noticed that
> when I decrease the number in setitemcount() from a large number above
> 80k to a much smaller number like 700 or so, the disposing of the
> items(even they were not visable) takes so much time that the user
> could think the application is frozen. Is this an RAP issue only, my
> fault or a common problem?
>
> As a workaround I decrease the itemcount in small steps, which
> improves the performance a lot, but this should not the way to handle
> this scenario.
>
> regards
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03583 seconds