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

Change subject: Eliminate redundant VLOG_IS_ON calls
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12194/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12194/1//COMMIT_MSG@13
PS1, Line 13: The expression on the righthand side of the << operator is 
evaluated
            : only when VLOG_IS_ON(3) is true.
> Intuitively this makes sense, but what proves that it's true?
We talked about that yesterday in the PA office, and I have a small patch to 
demonstrate that's true:

https://gist.github.com/alexeyserbin/dbf5722a7f0f22e6c323f38827400c88

It works the same way to DEBUG and RELEASE builds.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0781e64f95e33fe067f9f3e65e77aec8654f4ba3
Gerrit-Change-Number: 12194
Gerrit-PatchSet: 1
Gerrit-Owner: Will Berkeley <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Comment-Date: Wed, 09 Jan 2019 16:45:59 +0000
Gerrit-HasComments: Yes

Reply via email to