You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Philip Zeyliger (JIRA)" <ji...@apache.org> on 2010/09/25 00:14:33 UTC

[jira] Commented: (AVRO-673) Reduce time spent validating schemas

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

Philip Zeyliger commented on AVRO-673:
--------------------------------------

Patch looks reasonable to me.  Haven't downloaded and tried it.

> Reduce time spent validating schemas
> ------------------------------------
>
>                 Key: AVRO-673
>                 URL: https://issues.apache.org/jira/browse/AVRO-673
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Erik Frey
>            Priority: Minor
>         Attachments: AVRO-673.patch
>
>
> avro.io has a validate method that currently occupies around half the time it takes to serialize a fairly complex record through a datafile.  validate() gets called repeatedly during an object's traversal, even though validate itself is already recursive.  This introduces combinatorially excessive validation that has a significant impact on the performance of serializing complex records.

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