Hi,
Guys, don’t you think that it would be good to wrap all profiling, logging and debugging calls into assert statements?
I made a simple test: wrapped all profiling callse with assert - it added 3% FPS for nothing! OK, just 3%, but that’s only profiling - what will be with debugging and logging that makes more checks !?
For developers it does not make nay inconvenience - just enable assertions and you have all of debugging/logging functionality back, while game developers who normally do not tune the core will be able to run full speed because of assertions are off by default.
Comment on this, and if there is no objections, I will commit the cnages.
Yuri