Lite mode is in SVN -- mostly

2009-07-28 Thread Kenton Varda
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,

How to sort the repeated element?

2009-07-28 Thread 李海波
example: ==.proto file message Class{ message Student{ required string name = 1; required int32 score = 2; } repeated Student student = 1; } = I want to sort students of the class by score,how can i do?