avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Juma (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-49) Efficient positive varints
Date Tue, 23 Jun 2009 19:40:07 GMT

    [ https://issues.apache.org/jira/browse/AVRO-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723264#action_12723264

Ismael Juma commented on AVRO-49:

Sorry, I have been meaning to reply to this, but have been a bit busy. The fact that some
languages don't distinguish between signed and unsigned types doesn't seem to be a deterrent
for protocol buffers, so I am not sure if that's a strong argument.

However, there is no question that adding more choice at this level introduces additional
complexity. I still think that id-like integers are common enough (in my experience, more
common than signed integers) that it's worth optimising them as much as possible, but I understand
the motivation for not doing so.

In summary, from my point of view, "won't fix" is not ideal, but acceptable. :)

> Efficient positive varints
> --------------------------
>                 Key: AVRO-49
>                 URL: https://issues.apache.org/jira/browse/AVRO-49
>             Project: Avro
>          Issue Type: Improvement
>          Components: spec
>            Reporter: Ismael Juma
> Hi,
> Avro looks like an interesting project, so I was looking at the specification. I noticed
that varints use zig-zag encoding which is a good signed representation. However, id-like
values are very common and they are often always positive. I think it would be nice to support
them as efficiently as possible too (like Protocol Buffers, for example). Would something
like this be considered at all?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message