Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19333


Change subject: [common] small optimisation on PartitionContainsRow
......................................................................

[common] small optimisation on PartitionContainsRow

This patch updates PartitionSchema::PartitionContainsRow() to avoid
calling EncodeColumns() twice for the same data.

That's to improve performance of Tablet::CheckRowInTablet() which
is in a hot path when inserting data into a tablet.

Change-Id: Iaf1d8a9ea533a859d218292a6a0e2a0818781111
---
M src/kudu/common/partition.cc
M src/kudu/common/partition.h
2 files changed, 16 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/33/19333/1
--
To view, visit http://gerrit.cloudera.org:8080/19333
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf1d8a9ea533a859d218292a6a0e2a0818781111
Gerrit-Change-Number: 19333
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to