On Jun 18, 2010, at 17:06 , Kenton Varda wrote:
But I doubt there is really much overhead in constructing a new
CodedInputStream on the stack for each message. No heap space is
allocated in the process.
If I end up doing some performance intensive stuff with this code,
I'll look into it a
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
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,
th