[
https://issues.apache.org/jira/browse/LUCENE-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated LUCENE-2157:
----------------------------------
Attachment: LUCENE-2157.patch
Now an even optimized IdentityEncode for payloads. It uses ByteBuffer and
CharBuffer to encode. Can anybody with more NIO knowledge review this?
> DelimitedPayloadTokenFilter copies the bufer over itsself. Instead it should
> only set the length. Also optimize logic.
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2157
> URL: https://issues.apache.org/jira/browse/LUCENE-2157
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/analyzers
> Affects Versions: 3.0
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Priority: Minor
> Fix For: 3.1
>
> Attachments: LUCENE-2157.patch, LUCENE-2157.patch
>
>
> This is a small improvement I found when looking around. It is also a bad
> idea to copy a array over itsself.
> All tests pass, will commit later!
--
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]