mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
70788e9264
When the first argument passed is a std::string, we need to take it by const&, otherwise we copy the string and trigger a temporary allocation. This patch removes a few 10k temporary allocations when running the CMake daemon on the KDevelop build dir. This hotspot was found with heaptrack.
9.6 KiB
9.6 KiB