Michael Ho has posted comments on this change. Change subject: KUDU-1865: Avoid heap allocation for payload slices ......................................................................
Patch Set 2: (3 comments) http://gerrit.cloudera.org:8080/#/c/7471/3/src/kudu/rpc/inbound_call.cc File src/kudu/rpc/inbound_call.cc: Line 185: (*slices)[1] = Slice(response_msg_buf_); > nit: the () here are not necessary, are they? Done Line 187: (*slices)[i+2] = outbound_sidecars_[i]->AsSlice(); > style: can you split this back onto multiple lines with braces? we rarely u Done http://gerrit.cloudera.org:8080/#/c/7471/3/src/kudu/rpc/outbound_call.cc File src/kudu/rpc/outbound_call.cc: Line 117: (*slices)[i+2] = sidecars_[i]->AsSlice(); > same Done -- To view, visit http://gerrit.cloudera.org:8080/7471 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4470d34ba48db5edaeb66d9e739e0c8942004d86 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Michael Ho <k...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Michael Ho <k...@cloudera.com> Gerrit-Reviewer: Mostafa Mokhtar <mmokh...@cloudera.com> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org> Gerrit-HasComments: Yes