Bug 1878 - [Viewers] TreeViewer update (1G8S8MQ)
Summary: [Viewers] TreeViewer update (1G8S8MQ)
Status: RESOLVED DUPLICATE of bug 2266
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
: 2750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:21 EDT by John Arthorne CLA
Modified: 2002-12-04 13:31 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2001-10-10 22:21:23 EDT
Can the TreeViewer update mechanism be made any more efficient?
I tested a typical scenario of opening a viewer, and for a single element,
it made four calls to hasChildren and one call to getChildren.  In the case
of a repository explorer, this means at least five server round trips!

It's difficult for the element to be caching here, because server information
can change any time without notification.  How would the update algorithm
behave if those four calls to hasChildren returned different answers?

NOTES:
Comment 1 Kevin Haaland CLA 2002-01-21 19:46:08 EST
Pls investigate in latest JFace. 
Comment 2 Nick Edgar CLA 2002-01-27 15:01:25 EST
*** Bug 2750 has been marked as a duplicate of this bug. ***
Comment 3 Nick Edgar CLA 2002-12-04 13:31:08 EST

*** This bug has been marked as a duplicate of 2266 ***