You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Douglas Creager (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/15 15:35:11 UTC

[jira] [Resolved] (AVRO-920) Reusable memory I/O objects

     [ https://issues.apache.org/jira/browse/AVRO-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Douglas Creager resolved AVRO-920.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

Checked into SVN trunk
                
> Reusable memory I/O objects
> ---------------------------
>
>                 Key: AVRO-920
>                 URL: https://issues.apache.org/jira/browse/AVRO-920
>             Project: Avro
>          Issue Type: New Feature
>          Components: c
>    Affects Versions: 1.6.0
>            Reporter: Douglas Creager
>            Assignee: Douglas Creager
>             Fix For: 1.6.0
>
>         Attachments: 0001-Reusable-memory-I-O-objects.patch
>
>
> The {{avro_reader_t}} and {{avro_writer_t}} types handle the serialization of an Avro value to/from a binary buffer.  Right now, you have to construct a new instance of these types for every buffer you want to parse.  It would eliminate some memory allocation overhead if the reader/writer instances could be reused across parses.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira