Bug 319709 - Inserting TreeItem at a specified index
Summary: Inserting TreeItem at a specified index
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2010-07-13 09:15 EDT by Hitesh CLA
Modified: 2019-09-06 16:11 EDT (History)
0 users

See Also:


Attachments
Snippet and Profiler Screenshots (109.23 KB, application/zip)
2010-07-13 09:15 EDT, Hitesh CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hitesh CLA 2010-07-13 09:15:44 EDT
Created attachment 174141 [details]
Snippet and Profiler Screenshots

The difference between creating a TreeItem at a specified index and creating at the lastIndex appears to be inexplicably large. It seems to be unaffected even if one created hundreds or thousands of items consecutively at same index or incrementing/decrementing index - the cost remains the same. 

It would be highly desirable if this gap could be reduced. Particularly in place where large structural changes can be avoided while refreshing. I am attaching some profiler screenshots and a snippet.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:11:00 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.