On Mon, Aug 22, 2011 at 6:11 PM, bearophile <bearophileh...@lycos.com> wrote: > Walter: > >> You're not going to use those runtime checks in high performance video code. > > I see it as infrastructure useful for debugging and code test. The advantage > over Valgrind is that it doesn't slow down the code 10 times, but only > 1.2-1.5 times, so you are able to play the game during debugging too. > > Bye, > bearophile >
Not to mention while games are performance sensitive, unless it's an AAA title it's probably not _that_ sensitive in the majority of areas. Most games are loaded with assertions in debug mode anyway. Cheers, Josh