On Jul 29, 3:50 am, Kenton Varda <ken...@google.com> 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 > optimize_for = SPEED, but lacks descriptors, reflection, UnknownFieldSet, > and features which are tied to them. This means the code can be linked > against a much smaller subset of the protocol buffers runtime library and > will not spend time at start-up building descriptors.
Just in case anyone's wondering, I'm hoping to at least *start* work on porting this to C# early next week. (I have two days dedicated to 20% time next week, but I also want to do some Wave work.) 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 work :) Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---