This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 400160 - [performance] To populate source lines in JstSource use ast recordLineSeparator
Summary: [performance] To populate source lines in JstSource use ast recordLineSeparator
Status: RESOLVED FIXED
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-06 18:19 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-06 18:19:46 EST
parser.scanner.recordLineSeparator

This requires some testing but would greatly reduce the amount of time spent for line number calculation based on offset.
Comment 1 Justin Early CLA 2013-03-01 13:03:31 EST
all line numbers and col numbers use the Scanner record line separator rather than  custom implementation of line number scan. This should improve performance for larger files to prevent multiple scans.