Days since an uninitialized C++ variable caused me grief: 0 Uninitialized memory is sometimes important for performance, but it should need to be explicitly called out as such, rather than being the default behavior.
-
-
Replying to @ID_AA_Carmack
In what case would unitiliazed memory be important for performance John?
3 replies 1 retweet 5 likes -
Replying to @alex_spellman87
At one point (after chasing NaN's from uninitialized memory) we tried default initializing our Vec3 class, and found that it made game code something like 10% slower, which was unacceptable. It can also make large image processing operations half the speed in some cases.
5 replies 3 retweets 96 likes
Replying to @ID_AA_Carmack @alex_spellman87
I should further elaborate - a macro that is only active in debug builds.
9:02 PM - 13 Oct 2018
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.