Re: speed - python implementation
On Sun, Nov 9, 2008 at 5:14 PM, codeazure [EMAIL PROTECTED] wrote: On Oct 31, 5:19 am, Petar Petrov [EMAIL PROTECTED] wrote: Yes, there are plans to improve performance. I have spent a little time on this without significant improvements. I think performance can hardly get a drastic improvement without a C++ extension module (which we are planning to have). Are you aware of anyone doing any work on a C++ Boost::Python interface for PB? No, we aren't aware of such. This would seem to be a relatively easy thing to write, implementing the __getattr__/__setattr__ Python methods in Boost::Python to interface to the reflection mechanism in PB. A few things. The current Python API has to remain pure-Python because some clients aren't able to use C/C++ extensions (like AppEngine). Boost is generally not accepted in Google, so a Boost::Pythonit interface will have to distribute separately. We are planning a Python C extension. It will likely consist of a separate python code generator to create Python code which wraps the C++ API and provides Python API similar to the current pure-Python protobuf API. If noone else is doing it, I might try this myself pass it on if it works. Regards, Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to protobuf@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: speed - python implementation
On Oct 31, 5:19 am, Petar Petrov [EMAIL PROTECTED] wrote: Yes, there are plans to improve performance. I have spent a little time on this without significant improvements. I think performance can hardly get a drastic improvement without a C++ extension module (which we are planning to have). Are you aware of anyone doing any work on a C++ Boost::Python interface for PB? This would seem to be a relatively easy thing to write, implementing the __getattr__/__setattr__ Python methods in Boost::Python to interface to the reflection mechanism in PB. If noone else is doing it, I might try this myself pass it on if it works. Regards, Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to protobuf@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: speed - python implementation
On Mon, Oct 27, 2008 at 10:47 AM, andres [EMAIL PROTECTED] wrote: Hi, I would like to use protocol buffers in my python code but currently the serialization and parsing methods are too slow compared to cPickle. I've read several posts stating that this is because the python implementation has not been optimized for speed yet. Are there plans to improve the performance of proto buffers in python? Yes, there are plans to improve performance. I have spent a little time on this without significant improvements. I think performance can hardly get a drastic improvement without a C++ extension module (which we are planning to have). Does anybody know of a C++ extension/wrapper module which lets you access C+ + compiled protocol buffers directly from python code? Thanks, Andres --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to protobuf@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: speed - python implementation
Might it be possible to use the XS wrappers generated by protobuf-perlxs from Python? -- Jeremy Leader [EMAIL PROTECTED] andres wrote: Hi, I would like to use protocol buffers in my python code but currently the serialization and parsing methods are too slow compared to cPickle. I've read several posts stating that this is because the python implementation has not been optimized for speed yet. Are there plans to improve the performance of proto buffers in python? Does anybody know of a C++ extension/wrapper module which lets you access C+ + compiled protocol buffers directly from python code? Thanks, Andres --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to protobuf@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: speed - python implementation
[+petar] On Mon, Oct 27, 2008 at 10:47 AM, andres [EMAIL PROTECTED] wrote: Hi, I would like to use protocol buffers in my python code but currently the serialization and parsing methods are too slow compared to cPickle. I've read several posts stating that this is because the python implementation has not been optimized for speed yet. Are there plans to improve the performance of proto buffers in python? Does anybody know of a C++ extension/wrapper module which lets you access C+ + compiled protocol buffers directly from python code? Thanks, Andres --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to protobuf@googlegroups.com 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 -~--~~~~--~~--~--~---