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 65128

Summary: AnnotationBar.onCurrentLine() is expensive due to offset->Line conversion
Product: versioncontrol Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: issues, mmetelka, pholthuizen
Priority: P3 Keywords: PERFORMANCE
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Antonin Nebuzelsky 2005-09-26 14:52:20 UTC
This is a second part of the problem originally described in the issue 64533.
Even though the construction of annotation bar is now done in a worker thread
and does not prevent the user from interaction with editor, it can take quite a
long time. This should be made faster.

Please, don't close this issue only because you don't know how to speedup the
offset->Line conversion. This should be solved somehow! Perhaps something better
than Line has to be made Annotatable, or some other kind of redesign is needed...
Comment 1 _ pkuzel 2005-09-26 15:02:44 UTC
I do not plan to workaround this performance issue in javacvs.

Tonda have you reported it against editor, too? I'd add dependency.
Comment 2 Miloslav Metelka 2005-09-27 09:11:22 UTC
I have created issue 65162 to request creation of offset-range Annotatable in
openide/editor.
Comment 3 _ pkuzel 2005-10-13 17:16:46 UTC

*** This issue has been marked as a duplicate of 59721 ***