While experimenting with very heavily templated C++ code, i noticed that using an "Unity build" (creating a single cpp file that includes everything and building it in a single CU) reduce the compilation time by a lot.
I got a 10x improvement for my 15kloc project without touching the code.
https ...
Search found 2 matches
- Sat Sep 02, 2017 2:24 pm
- Forum: News
- Topic: Friday Facts #206 - Workflow optimisation
- Replies: 84
- Views: 48999
- Sat Sep 02, 2017 1:53 pm
- Forum: News
- Topic: Friday Facts #206 - Workflow optimisation
- Replies: 84
- Views: 48999
Re: Friday Facts #206 - Workflow optimisation
While experimenting with very heavily templated C++ code, i noticed that using an "Unity build" (creating a single cpp file that includes everything and building it in a single CU) reduce the compilation time by a lot.
I got a 10x improvement for my 15kloc project without touching the code.
I got a 10x improvement for my 15kloc project without touching the code.