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

Thomas Peuss updated LUCENE-1259:
---------------------------------

    Attachment: LUCENE-1259.patch

> Token.clone() copies termBuffer - unneccessary in most cases
> ------------------------------------------------------------
>
>                 Key: LUCENE-1259
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1259
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>            Reporter: Thomas Peuss
>            Priority: Minor
>         Attachments: LUCENE-1259.patch
>
>
> The method Token.clone() copies the termBuffer. This is OK for the 
> _clone()_-method (it works according to what we expect from _clone()_). But 
> in most cases the termBuffer is set directly after cloning. This is an 
> unnecessary copy step we can avoid. This patch adds a new method called 
> _cloneWithoutTermBuffer()_.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to