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

Scott Carey commented on AVRO-327:
----------------------------------

bq.  I worked on Doug's patch and fixed most of the problems. But TestCompare 
and TestDataFile still fail. TestCompare fails because, I think, BinaryData 
class assumes that the decoder will not read past the required bytes. 
TestDataFile fails because we are not able to sync to the next sync point since 
that is already been read into the BufferedBinaryDecoder's buffer. 

As part of AVRO-392 I have modified the tests and BinaryData to deal with the 
buffering.   The improvements in this ticket are now all included as a (large) 
subset of AVRO-392.  Should I resolve this as a duplicate?

> Performance improvements to BinaryDecoder.readLong()
> ----------------------------------------------------
>
>                 Key: AVRO-327
>                 URL: https://issues.apache.org/jira/browse/AVRO-327
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>         Attachments: AVRO-327-2.patch, AVRO-327.patch
>
>
> AVRO-315 proposed performance improvements to readLong(), readFloat() and 
> readDouble(). readLong() did not improve performance well for all. Scott 
> proposed a better method (but requires a change in semantics and API). We'll 
> carry on the discussion on that proposal here. AVRO-315 will be committed 
> with changes for readFloat() and readDouble().

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