You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2011/06/28 10:16:17 UTC
[jira] [Created] (LUCENE-3252) Use single array in fixed straight
bytes DocValues if possible
Use single array in fixed straight bytes DocValues if possible
--------------------------------------------------------------
Key: LUCENE-3252
URL: https://issues.apache.org/jira/browse/LUCENE-3252
Project: Lucene - Java
Issue Type: Improvement
Components: core/search, core/store
Affects Versions: 4.0
Reporter: Simon Willnauer
Priority: Minor
Fix For: 4.0
FixedStraightBytesImpl currently uses a straight array only if the byte size is 1 per document we could further optimize this to use a single array if all the values fit in.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Assigned] (LUCENE-3252) Use single array in fixed straight
bytes DocValues if possible
Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer reassigned LUCENE-3252:
---------------------------------------
Assignee: Simon Willnauer
> Use single array in fixed straight bytes DocValues if possible
> --------------------------------------------------------------
>
> Key: LUCENE-3252
> URL: https://issues.apache.org/jira/browse/LUCENE-3252
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/search, core/store
> Affects Versions: 4.0
> Reporter: Simon Willnauer
> Assignee: Simon Willnauer
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-3252.patch
>
>
> FixedStraightBytesImpl currently uses a straight array only if the byte size is 1 per document we could further optimize this to use a single array if all the values fit in.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3252) Use single array in fixed straight
bytes DocValues if possible
Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer updated LUCENE-3252:
------------------------------------
Attachment: LUCENE-3252.patch
here is a patch that uses a single array if possible. Yet, the problem I have with this patch is that the fallback impl doesn't get any tests anymore so I might need to add a mock impl here somehow that uses the fallback for testing too. Any other ideas?
> Use single array in fixed straight bytes DocValues if possible
> --------------------------------------------------------------
>
> Key: LUCENE-3252
> URL: https://issues.apache.org/jira/browse/LUCENE-3252
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/search, core/store
> Affects Versions: 4.0
> Reporter: Simon Willnauer
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-3252.patch
>
>
> FixedStraightBytesImpl currently uses a straight array only if the byte size is 1 per document we could further optimize this to use a single array if all the values fit in.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org