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 93534 - Improve performance of TokenSequence.embedded()
Summary: Improve performance of TokenSequence.embedded()
Status: RESOLVED DUPLICATE of bug 112465
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 11:03 UTC by Miloslav Metelka
Modified: 2007-10-02 13:38 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2007-01-30 11:03:48 UTC
Currently if a token contains an embedding the token gets wrapped by
EmbeddingContainer. If the token does not have an embedding the algorithm to
find a possible embedding is invoked during each invocation of
TokenSequence.embedded() which degrades performance. Upon the first
TS.embedded() call the token should somehow internally mark itself that it does
not contain embedding.
Comment 1 Miloslav Metelka 2007-10-02 13:38:19 UTC

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