You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2007/12/24 01:34:43 UTC
[jira] Created: (LUCENE-1098) Small performance enhancement for
StandardAnalyzer
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
[jira] Updated: (LUCENE-1098) Small performance enhancement for
StandardAnalyzer
Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (LUCENE-1098) Small performance enhancement for
StandardAnalyzer
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch resolved LUCENE-1098.
-----------------------------------
Resolution: Fixed
Lucene Fields: [New, Patch Available] (was: [Patch Available, New])
Committed. Thanks Nathan!
> 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