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

Change subject: [util] Add a function to fetch non-default flags as a map
......................................................................


Patch Set 2: Code-Review+2

(1 comment)

http://gerrit.cloudera.org:8080/#/c/17400/2/src/kudu/util/flags.cc
File src/kudu/util/flags.cc:

http://gerrit.cloudera.org:8080/#/c/17400/2/src/kudu/util/flags.cc@581
PS2, Line 581: args.str().empty()
nit: this is not part of this particular patch, but this operation is 
needlessly expensive.  Why don't we simply add "\n" unconditionally after 
outputting a flag's info after line 586?  Another option is to use a simple 
boolean to check whether that's the very first flag being output.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e7c9fc4de9be05110dba5ca02f48d46b6b474b7
Gerrit-Change-Number: 17400
Gerrit-PatchSet: 2
Gerrit-Owner: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Comment-Date: Fri, 07 May 2021 04:37:55 +0000
Gerrit-HasComments: Yes

Reply via email to