You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/07/31 11:49:38 UTC
[jira] [Updated] (LUCENE-5739) Add zig-zag encoding support to
DataInput/DataOutput
[ https://issues.apache.org/jira/browse/LUCENE-5739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-5739:
---------------------------------
Attachment: LUCENE-5739.patch
Here is an updated patch:
- more tests,
- ZLong supports the whole long range but vLong still only supports positive values.
> Add zig-zag encoding support to DataInput/DataOutput
> ----------------------------------------------------
>
> Key: LUCENE-5739
> URL: https://issues.apache.org/jira/browse/LUCENE-5739
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 4.9, 5.0
>
> Attachments: LUCENE-5739.patch, LUCENE-5739.patch
>
>
> It would be convenient to have support for zig-zag-encoded integers in DataInput/DataOutput. There are not many places that use that feature today but I think it's quite common to need to read/write small signed values.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org