Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Expensive to create SWT clipboard?

I think there was a performance concern at one point, but I can't find any 
corresponding PR.
Maybe the SWT team can comment, or you can bench it.

Nick




Randy Hudson <hudsonr@xxxxxxxxxx> 
Sent by: platform-ui-dev-bounces@xxxxxxxxxxx
06/08/2005 10:38 AM
Please respond to
"Eclipse Platform UI component developers list."


To
platform-ui-dev@xxxxxxxxxxx
cc

Subject
[platform-ui-dev] Expensive to create SWT clipboard?







Is creating an SWT Clipboard expensive?  In our code we are just 
instantiating the clipboard as needed, doing something, and then disposing 
it.  So, I went to see if the platform puts the dispose() in a finally {} 
block, but I found out that almost everywhere clipboards are kept around 
with each part until the part is disposed.  Is there a reason? 

For example, BookMarkNavigator keeps its clipboard around in a field. 

-Randy_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev




Back to the top