Created
January 28, 2010 20:04
-
-
Save selenamarie/289085 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thinking about using these as a replication stream: | |
* standard types: bool, int32, float, double, and string | |
* don't use 'required' when defining fields | |
* Each field has a unique tag, 1-15 requiring one less bit than higher nums | |
** suggested that repeated values are particularly good candidates for this optimization | |
* C++ generated code reference: http://code.google.com/apis/protocolbuffers/docs/reference/cpp-generated.html | |
* Add GOOGLE_PROTOBUF_VERIFY_VERSION macro as best practice in main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment