Dan Burkert has posted comments on this change.

Change subject: Inlined dispatch for predicate evaluation
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/4164/2/src/kudu/common/column_predicate.h
File src/kudu/common/column_predicate.h:

Line 142:   bool EvaluateCell(DataType physical_type, const void *cell) const;
I think you may want to define this method in the header, so that you can be 
absolutely sure that the switch gets inlined away (since you are always calling 
it with a statically known DataType).  The other option is to just expose it as 
a templatized method, but you will have to add public instantiations, I think.

Todd, what do you think?


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iccfac9bc899362b442337050795b5ca8c4101268
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Andrew Wong <andrew.w...@cloudera.com>
Gerrit-Reviewer: Dan Burkert <d...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-HasComments: Yes

Reply via email to