You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Sharad Agarwal (JIRA)" <ji...@apache.org> on 2009/04/14 09:33:14 UTC
[jira] Updated: (AVRO-13) Use dictionary instead of if-else in
validate
[ 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.