[
https://issues.apache.org/jira/browse/AVRO-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969554#action_12969554
]
Philip Zeyliger commented on AVRO-709:
--------------------------------------
Patch looks good. I'd like to check in av_bench.py. It doesn't have the
Apache license header on it, which is probably a pre-requisite. Justin, would
you mind creating a patch that's got both files?
Thanks!
> Some python speedups
> --------------------
>
> Key: AVRO-709
> URL: https://issues.apache.org/jira/browse/AVRO-709
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.0
> Environment: linux
> Reporter: Justin Azoff
> Priority: Minor
> Fix For: 1.5.0
>
> Attachments: 0001-python-speedups.patch, av_bench.py
>
>
> I did some basic profiling of the python library and found it spent most of
> it's time looking up the properties.
> Converting them to plain class members speeds things up quite a bit. using
> __slots__ would probably improve things even more.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.