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

Doug Cutting commented on AVRO-13:
----------------------------------

This looks fine to me.

> Use dictionary instead of if-else in validate
> ---------------------------------------------
>
>                 Key: AVRO-13
>                 URL: https://issues.apache.org/jira/browse/AVRO-13
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 1.0
>            Reporter: Sharad Agarwal
>            Assignee: Sharad Agarwal
>             Fix For: 1.0
>
>         Attachments: AVRO-13_v1.patch
>
>
> Currently validate in generic.py and reflect.py uses if-else. It would be 
> efficient to use dictionary with keys as schema types.

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