3 ms·
Say I create a struct that's a thousand bytes large. Making sure that it is properly zeroed is a large performance penalty.
by saagarjha 8y ago
Say I create a struct that's a thousand bytes large. Making sure that it is properly zeroed is a large performance penalty.
- loeg 8y agoPutting a huge struct on the stack is going to be a bad time for multiple other reasons, with or without this initialization.