avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-709) Some python speedups
Date Wed, 08 Dec 2010 23:02:01 GMT

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

Doug Cutting commented on AVRO-709:
-----------------------------------

Could a pythonista please review this?

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


Mime
View raw message