You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "zwoop (via GitHub)" <gi...@apache.org> on 2023/07/13 17:35:07 UTC
[GitHub] [trafficserver] zwoop opened a new issue, #10016: CID 1513228: Performance inefficiencies (AUTO_CAUSES_COPY)
zwoop opened a new issue, #10016:
URL: https://github.com/apache/trafficserver/issues/10016
```
*** CID 1513228: Performance inefficiencies (AUTO_CAUSES_COPY)
/proxy/http/remap/[PluginFactory.cc](http://pluginfactory.cc/): 246 in PluginFactory::getEffectivePath(const swoc::_1_5_1::file::path &)()
240 return fs::path();
241 }
242 }
243
244 fs::path path;
245
CID 1513228: Performance inefficiencies (AUTO_CAUSES_COPY)
Using the "auto" keyword without an "&" causes the copy of an object of type path.
246 for (auto dir : _searchDirs) {
247 fs::path candidatePath = dir / configPath;
248 if (fs::exists(candidatePath)) {
249 path = fs::canonical(candidatePath, _ec);
250 break;
251 }
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] brbzull0 closed issue #10016: CID 1513228: Performance inefficiencies (AUTO_CAUSES_COPY)
Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 closed issue #10016: CID 1513228: Performance inefficiencies (AUTO_CAUSES_COPY)
URL: https://github.com/apache/trafficserver/issues/10016
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org