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 187002 - avoid CharSequence to String conversion in file based offsetable key
Summary: avoid CharSequence to String conversion in file based offsetable key
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-05-31 16:29 UTC by Alexander Simon
Modified: 2010-06-03 06:10 UTC (History)
0 users

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 2010-05-31 16:29:43 UTC
Code model keep file name as char sequence.
Repository has table for mapping file name to index.
So for each key creation code model need to convert char sequence to string.
It is performance issue.
Please replace string to char sequence in table for mapping file name to index.
Comment 1 Alexander Simon 2010-05-31 16:52:46 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/87b8ed8a0439
Comment 2 Quality Engineering 2010-06-03 06:10:34 UTC
Integrated into 'main-golden', will be available in build *201006030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/87b8ed8a0439
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed #187002 avoid CharSequence to String conversion in file based offsetable key