The pure python code is pretty slow. However, the repository version
(and the newly released 2.4.0 rc 1?) has C++ code to do
serialization / deserialization. There is no documentation, but the
following thread describes it:
You may want to test that and see how it turns out. And/or contact
Yang about this, since he was interested in the same problem.
Evan
--
Evan Jones
http://evanjones.ca/
Did you see https://groups.google.com/d/msg/protobuf/z7E80KYJscc/ysCjHHmoraUJ ?
Be sure to compile your .proto into C++ code and link that into an
extension. It should use the generated C++ code and be even faster.
-gps