aboutsummaryrefslogtreecommitdiffstats
path: root/vsprojects
diff options
context:
space:
mode:
authorTom Chao <chaot@google.com>2013-11-11 11:22:02 -0800
committerTom Chao <chaot@google.com>2013-11-11 11:22:02 -0800
commit7e02f374901ff471db5140f415de157ac6243050 (patch)
treeb18fa1ea98e2f496d977b4712929a40528652d3f /vsprojects
parent8a15121c1077fe883f428bd27dee6b99e06e48b6 (diff)
downloadexternal_protobuf-7e02f374901ff471db5140f415de157ac6243050.zip
external_protobuf-7e02f374901ff471db5140f415de157ac6243050.tar.gz
external_protobuf-7e02f374901ff471db5140f415de157ac6243050.tar.bz2
Minimize method count for nanoproto.
- Migrates getCachedSize to the MessageNano parent class to save one method per message. - Create ExtendableMessageNano parent class for protos with extensions, this saves the getExtension and setExtension methods on the relevant messages. - getSerializedSize's default case (with no fields to serialize) also migrate to the parent class, which saves methods on empty messages. - Container classes become interfaces to save the constructor. Change-Id: I81f1a1b6d6a660096835e9df3ea20456655aab4a
Diffstat (limited to 'vsprojects')
0 files changed, 0 insertions, 0 deletions