[
https://issues.apache.org/jira/browse/THRIFT-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790944#comment-13790944
]
Hudson commented on THRIFT-2021:
--------------------------------
SUCCESS: Integrated in Thrift #926 (See
[https://builds.apache.org/job/Thrift/926/])
THRIFT-2021: Improve large binary protocol string performance (bencraig: rev
fd64c15c4fa5ab092ecdda713bae142c05aafd72)
* lib/cpp/src/thrift/protocol/TBinaryProtocol.tcc
> Improve large binary protocol string performance
> ------------------------------------------------
>
> Key: THRIFT-2021
> URL: https://issues.apache.org/jira/browse/THRIFT-2021
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.9
> Reporter: Ben Craig
> Assignee: Ben Craig
> Fix For: 1.0
>
> Attachments: fast_binary_strings.patch
>
>
> Currently, TBinaryProtocol reads into a temporary buffer, then copies the
> results into the resulting std::string. For large strings (like a megabyte),
> the copy can be a performance issue.
> The attached patch reads directly into the std::string instead.
--
This message was sent by Atlassian JIRA
(v6.1#6144)