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

Holger Hoffstätte commented on AVRO-557:
----------------------------------------

(just a lurker, sorry to interrupt..)

Doug, as much as I like performance (really :) I'm afraid using ThreadLocals 
without any exposed lifecycle control only introduces longer-than-necessary 
garbage retention, file/memory/thread leaks due to un-undeployable webapps and 
all sorts of other headaches. :(


> Speed up one-time data decoding
> -------------------------------
>
>                 Key: AVRO-557
>                 URL: https://issues.apache.org/jira/browse/AVRO-557
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.3.2
>            Reporter: Kevin Oliver
>            Assignee: Doug Cutting
>             Fix For: 1.4.0
>
>         Attachments: AVRO-557-partial.patch, AVRO-557.patch, AVRO-557.patch, 
> AVRO-557.patch, AVRO-557.patch, AVRO-557.patch
>
>
> There are big gains to be had in performance when using a BinaryDecoder and a 
> GenericDatumReader just one time. This is due to the relatively expensive 
> parsing and initialization that came with 1.3. Patch with example code and a 
> Perf harness to follow.

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