[all-commits] [llvm/llvm-project] ad2816: [llvm-exegesis] Use const reference for range vari...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Fri Apr 26 16:12:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad2816e7340be71c93e60b9bb58e107fe1b76e4d
https://github.com/llvm/llvm-project/commit/ad2816e7340be71c93e60b9bb58e107fe1b76e4d
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
Log Message:
-----------
[llvm-exegesis] Use const reference for range variable
In the SubprocessMemory destructor, I was using a normal std::string to
hold the name of the current shared memory name, but a const reference
works just as well in this situation while having better performance
characteristics.
Fixes #90289
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list