Document Compile Time Optimization By Disabling Debug Symbols #126
Labels
A-Build-System
Related to build systems or continuous integration
C-Docs
An addition or correction to our documentation
I noticed that when re-compiling the examples, I would get a little bit faster re-compile times when using release mode presumably because debugging symbols actually can make debug compile times slower than the release build compile times ( mentioned here rust-gamedev/wg#50 (comment) ). Seems like this is worth mentioning in the fast compile section of the documentation.
If you don't need debug symbols it may actually be faster to compile and result in a faster game to use release mode. Also you can add the following to your
.cargo/config
to disable debug symbols when making debug builds, but when recompiling the examples that only makes it take the same amount of time as a release build:The text was updated successfully, but these errors were encountered: