On Mon, Apr 27, 2009 at 10:09 AM, Yegor <yegor.jba...@gmail.com> wrote:

>
> Hi, Kenton,
>
> In the Python version there are now two versions of InputStream, one
> buffer-based, the other one array-based, for compatibility with App
> Engine-like environments. Do you know how big the performance penalty
> is for using array-based InputStream in protobuf context?


It depends on the specific case.
Those that I have seen (mostly with not very deeply nested messages) are
take ~2% longer to SerializeFromString/MergeFromString.
I suppose deeper nested messages will be slower to
SerializeFromString/MergeFromString but I don't have concrete numbers.


>
> Thanks,
>
> Yegor
>
> On Apr 24, 9:01 pm, Kenton Varda <ken...@google.com> wrote:
> > Hi all,
> > I just updated SVN (rev 120) with a large bundle of changes recently made
> to
> > our internal copy of the code.  The easiest way to see what's new is to
> look
> > at the diff of CHANGES.txt:
> >
> > http://code.google.com/p/protobuf/source/diff?spec=svn120&r=120&forma...
> >
> > Most of the changes probably won't affect most users (aside from
> > optimizations which silently affect you).
> >
> > There are a couple obscure source-incompatible changes.  For example,
> C++'s
> > UnknownFieldSet has been redesigned for efficiency, and its interface has
> > changed as a result.  Most users do not use UnknownFieldSet directly, so
> > this is unlikely to affect many people, but if you do, then you'll need
> to
> > update your code.  Sorry -- the previous design of UnknownFieldSet was
> > really poor, and we saw no way around changing the API here.
> >
> > The next release of protocol buffers will be version 2.1.0, possibly with
> > the "beta" tag like 2.0.0 had.  Given all the changes, I imagine a few
> bugs
> > have been introduced somewhere in there.  I hope to get a release
> candidate
> > out next week, followed by a real release shortly after.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to