Bug 400037 - [bug] Long running routine for looking up comments must be fixed
Summary: [bug] Long running routine for looking up comments must be fixed
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VJET (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Early CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-05 18:07 EST by Justin Early CLA
Modified: 2017-04-11 15:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Early CLA 2013-02-05 18:07:24 EST
Longer files are looping through every offset value during parse for almost every statement.

Problem is with 

CommentCollector.getCommentNonMeta2
CommentCollector.getCommentLocationNonMeta2

taking only one argument and if the file doesn't have any comments or very few comments the search is very long.

Currently excluding the file is not really a desirable workaround.