Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16075 )

Change subject: [consensus] use move semantics for LogEntryBatchPB
......................................................................


Patch Set 2:

> Would be nice to quantify the perf improvement for this. While heap
 > allocation might be expensive, iiuc moving PBs entails trivial
 > copies on move, which might add up, vs pointer swizzling.

Keep in mind that moving around std::unique_ptr also involves trivial copying 
and calling a couple of std::unique_ptr methods, and now this and also creation 
of std::unique_ptr instances are both gone.


--
To view, visit http://gerrit.cloudera.org:8080/16075
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib5d3c384dd6f17e8c4c71eec074af9e98827262b
Gerrit-Change-Number: 16075
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Comment-Date: Mon, 15 Jun 2020 04:03:28 +0000
Gerrit-HasComments: No

Reply via email to