This commit is contained in:
Tim Rakowski
2018-10-28 10:14:13 +01:00
committed by GitHub
parent c58f76d298
commit 31549d8e37

View File

@@ -59,7 +59,7 @@ After you build using Templight, you will need to analyze the results. The [temp
#### Don't Unnecessarily Include Headers
The compiler has to do something with each include directive it sees. Even if it stops as soon as it seems the `#ifndef` include guard, it still had to open the file and begin processing it.
The compiler has to do something with each include directive it sees. Even if it stops as soon as it sees the `#ifndef` include guard, it still had to open the file and begin processing it.
[include-what-you-use](https://github.com/include-what-you-use/include-what-you-use) is a tool that can help you identify which headers you need.