[
https://issues.apache.org/jira/browse/MESOS-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724055#comment-14724055
]
Guangya Liu commented on MESOS-1805:
------------------------------------
A new issue https://issues.apache.org/jira/browse/MESOS-3344 has been filed to
add more comments to those functions for why not using reference.
> change const pass-by-value to const reference in stout
> ------------------------------------------------------
>
> Key: MESOS-1805
> URL: https://issues.apache.org/jira/browse/MESOS-1805
> Project: Mesos
> Issue Type: Improvement
> Components: stout
> Affects Versions: 0.25.0
> Reporter: Kamil DomaĆski
> Assignee: Guangya Liu
> Priority: Trivial
> Labels: easyfix, patch, performance
> Fix For: 0.25.0
>
>
> {{os::shell}} and an overload of {{strings::internal::fmt}} in stout pass a
> {{const std::string}} parameter instead of {{const std::string&}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)