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

Doug Cutting commented on AVRO-49:
----------------------------------

Many target languages (Java, Python, Perl, PigLatin) do not distinguish between 
signed and unsigned types.  (Some don't distinguish between 32 and 64-bit 
types, which is already awkward.)  Adding more such distinctions makes 
compatibility harder.  At this point I'd also rather avoid adding more types.  
Yes, there is a slight size advantage to avoiding zig-zag encoding, but my 
feeling is that making things a bit smaller is not worth the complexity this 
would bring.

> 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.

Reply via email to