Alejandro Abdelnur created HADOOP-9876:
------------------------------------------
Summary: Take advantage of protobuf 2.5.0 new features for
increased performance
Key: HADOOP-9876
URL: https://issues.apache.org/jira/browse/HADOOP-9876
Project: Hadoop Common
Issue Type: Improvement
Reporter: Alejandro Abdelnur
>From protobuf 2.5.0 release notes:
* Comments in proto files are now collected and put into generated code as
comments for corresponding classes and data members.
* Added Parser to parse directly into messages without a Builder. For
example,
Foo foo = Foo.PARSER.ParseFrom(input);
Using Parser is ~25% faster than using Builder to parse messages.
* Added getters/setters to access the underlying ByteString of a string field
directly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira