This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 34199 - Do not abuse Context.EMPTY in merged contexts
Summary: Do not abuse Context.EMPTY in merged contexts
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2003-06-05 12:54 UTC by Vitezslav Stejskal
Modified: 2004-04-19 16:39 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2003-06-05 12:54:36 UTC
(3) In some cases we're adding in empty contexts
(Context.empty). You can end up with multiple of
these. I presume this was done for simplicity (the
delegates array has already been sized?). But in
any case it seems like having a 0-sized array
(when there are no delegates) or simply leaving
out Context.EMPTY would be better (fewer lookup
operations to be called).
Comment 1 Vitezslav Stejskal 2003-06-05 12:56:22 UTC
Eval: I am not sure how big impact this optimization will have. Deeper
analysis is neccessary.
Comment 2 Vitezslav Stejskal 2003-11-26 13:18:26 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 3 Vitezslav Stejskal 2003-11-26 14:57:45 UTC
--> VERIFIED