[
https://issues.apache.org/jira/browse/AVRO-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sharad Agarwal updated AVRO-13:
-------------------------------
Attachment: AVRO-13_v1.patch
straightforward patch.
> 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.