On Sat, Aug 1, 2009 at 4:42 AM, Jon Skeet wrote:
> Out of interest Kenton, does this make the bootstrapping code simpler?
> I'd imagine that can be built with just a "lite" version. It would be
> nice to get rid of some of the nastiness that's involved in C# just to
> get the PB-specific types to
On Jul 29, 3:50 am, Kenton Varda wrote:
> I just committed the new "lite mode" refactoring for C++ and Java to SVN.
> To use the new feature, add this line to your .proto file:
> option optimize_for = LITE_RUNTIME;
> This will cause protoc to generate code which is just as fast as with
> optimi
On Wed, Jul 29, 2009 at 3:41 PM, ijuma wrote:
> Is there a way to disable this behaviour? As you say, it doesn't seem
> particularly useful for sophisticated JVMs and unless I am missing
> something, the queue is currently unbounded so it could end up
> retaining quite a bit of memory for some us
On Jul 29, 7:15 pm, Kenton Varda wrote:
> I think that touched java_message.cc in the compiler -- grep for
> "QuickQueue".
Thanks Kenton.
> It's an entirely transparent change -- you do not have to
> change your code at all to take advantage of it.
Yes, I understand. I was just curious about
On Tue, Jul 28, 2009 at 7:50 PM, Kenton Varda wrote:
> C++, as measured by the "size" command on Linux:
> libprotobuf.so: 948k
> libprotobuf-lite.so: 148k
> libprotobuf-lite.so with extension_set.cc removed: 91k
>
I just shaved another 23k off the lite library by eliminating use of
strutil
On Wed, Jul 29, 2009 at 2:14 AM, ijuma wrote:
> On Jul 29, 3:50 am, Kenton Varda wrote:
> > I just committed the new "lite mode" refactoring for C++ and Java to SVN.
>
> Thanks, that sounds useful. I noticed another change in the
> Changes.txt:
>
> "Put Builder objects on a freelist after build(
I'll try to get to this by the end of the week.
On Tue, Jul 28, 2009 at 9:50 PM, Kenton Varda wrote:
> I just committed the new "lite mode" refactoring for C++ and Java to SVN.
> To use the new feature, add this line to your .proto file:
> option optimize_for = LITE_RUNTIME;
> This will cause p
Hi Kenton,
On Jul 29, 3:50 am, Kenton Varda wrote:
> I just committed the new "lite mode" refactoring for C++ and Java to SVN.
Thanks, that sounds useful. I noticed another change in the
Changes.txt:
"Put Builder objects on a freelist after build() is called, so they
may be reused later."
Sin
I just committed the new "lite mode" refactoring for C++ and Java to SVN.
To use the new feature, add this line to your .proto file:
option optimize_for = LITE_RUNTIME;
This will cause protoc to generate code which is just as fast as with
optimize_for = SPEED, but lacks descriptors, reflection, U