lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1098) Small performance enhancement for StandardAnalyzer
Date Mon, 24 Dec 2007 00:34:43 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nathan Beyer updated LUCENE-1098:
---------------------------------

    Attachment: StandardAnalyzer.diff

The patch to make the SavedStreams inner class static and final. I also remove the superfluous
';' at the end of the inner class.

> Small performance enhancement for StandardAnalyzer
> --------------------------------------------------
>
>                 Key: LUCENE-1098
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1098
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>    Affects Versions: 2.3
>            Reporter: Nathan Beyer
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: StandardAnalyzer.diff
>
>
> The class StandardAnalyzer has an inner class, SavedStreams, which is used internally
for maintaining some state. This class doesn't use the implicit reference to the enclosing
class, so it can be made static and reduce some memory requirements. A patch will be attached
shortly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message