https://github.com/Kitware/CMake
Revision ad9394f4fdb69f3f3376d7377fac0a22568aed7c authored by Milian Wolff on 15 January 2016, 13:19:33 UTC, committed by Stephen Kelly on 20 January 2016, 20:20:55 UTC
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.
1 parent f9599ed
History
Tip revision: ad9394f4fdb69f3f3376d7377fac0a22568aed7c authored by Milian Wolff on 15 January 2016, 13:19:33 UTC
Remove temporary allocations in cmMacroHelper::InvokeInitialPass.
Tip revision: ad9394f
File Mode Size
Auxiliary
Help
Licenses
Modules
Packaging
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 613 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 8.5 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 10.2 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 26.2 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CONTRIBUTING.rst -rw-r--r-- 1005 bytes
CTestConfig.cmake -rw-r--r-- 870 bytes
CTestCustom.cmake.in -rw-r--r-- 5.1 KB
CompileFlags.cmake -rw-r--r-- 3.1 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 804 bytes
README.rst -rw-r--r-- 2.9 KB
bootstrap -rwxr-xr-x 45.5 KB
cmake_uninstall.cmake.in -rw-r--r-- 790 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

README.rst

back to top