Skip to content
Snippets Groups Projects
Commit ad9394f4 authored by Milian Wolff's avatar Milian Wolff Committed by Stephen Kelly
Browse files

Remove temporary allocations in cmMacroHelper::InvokeInitialPass.

This code used to convert std::string's to raw C strings only to
put that back into a std::string. This patch thus removes ~70k
temporary allocations when running the CMake daemon on KDevelop.

This hotspot was found with heaptrack.
parent f9599ed4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment