Version 2.3.0 introduced a complete overhaul of the internals of the Python
implementation, drastically improving performance.  I don't think it can be
pushed much further while still remaining pure-python.  Petar is still
working on an implementation which wraps the C++ protobuf implementation,
thus making it vastly faster.  It should be ready for the next release,
probably sometime this summer.

On Sat, Jun 19, 2010 at 10:46 AM, Will P <[email protected]> wrote:

> Have you done any profiling to see where you're seeing the code spend
> the most time?  I contributed a small python performance enhancement
> patch many months ago, which was accepted and is now part of the
> wire_format.py code (it wasn't much, I just unrolled a loop really).
> I'm interested in helping out to speed up the python code.  Do you
> know where in the code you would want to see more optimization?  Do
> you find any specific primitive types to be worse than others?  What
> are the sizes and number of fields of your protobuf messages?  Can you
> share your .proto file and any sample code that sit in your critical
> code path?
>
> I'm definitely interested in helping out here.
>
> Thanks!
> -W
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<protobuf%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to