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 157111 - low performance of AnnotationViewDataImpl.propertyChange()
Summary: low performance of AnnotationViewDataImpl.propertyChange()
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Max Sauer
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 152213
  Show dependency tree
 
Reported: 2009-01-20 10:14 UTC by Alexander Simon
Modified: 2009-02-19 20:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2009-01-20 10:14:50 UTC
The method uses non scalable methods List.removeAll(Collection).
For example changing 30K occurrences to another 30K occurrences consume about 50 seconds.
Comment 1 Jan Lahoda 2009-01-20 15:09:31 UTC
Should be much faster now:
http://hg.netbeans.org/main?cmd=changeset;node=53ec138345bb

Please verify.
Comment 2 Alexander Simon 2009-01-20 16:19:09 UTC
verified, thank you very much!
Comment 3 Quality Engineering 2009-01-23 07:31:49 UTC
Integrated into 'main-golden', will be available in build *200901230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/53ec138345bb
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #157111: using Set.removeAll instead of List.removeAll.