Re: speed - python implementation

2008-11-12 Thread codeazure
On Nov 13, 5:04 am, "Petar Petrov" <[EMAIL PROTECTED]> wrote: > 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 dis

Re: speed - python implementation

2008-11-12 Thread daveb
you could consider wrapping protobuf-c... that will at least save you the hassle of writing the C wrapper around C++. - dave On Nov 12, 10:04 am, "Petar Petrov" <[EMAIL PROTECTED]> wrote: > On Sun, Nov 9, 2008 at 5:14 PM, codeazure <[EMAIL PROTECTED]> wrote: > > > On Oct 31, 5:19 am, "Petar Petr

Re: speed - python implementation

2008-11-12 Thread Petar Petrov
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

Re: speed - python implementation

2008-11-09 Thread codeazure
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

Re: speed - python implementation

2008-10-30 Thread Petar Petrov
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 impleme

Re: speed - python implementation

2008-10-28 Thread Jeremy Leader
Jeremy Leader wrote: > Might it be possible to use the XS wrappers generated by protobuf-perlxs > from Python? Aaah, not enough caffeine yet. I somehow confused XS (Perl-specific) with SWIG (supports Perl, Python, and many others). Never mind! -- Jeremy Leader [EMAIL PROTECTED] --~--~-

Re: speed - python implementation

2008-10-28 Thread Jeremy Leader
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'v

Re: speed - python implementation

2008-10-27 Thread Kenton Varda
[+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 > pyth

speed - python implementation

2008-10-27 Thread andres
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 perf