void initialization vs alignment holes

BCS none at anon.com
Sat Mar 6 21:44:37 PST 2010


Hello Strtr,


> Suppose I'd still would like to use void optimizations, how do you
> clear the holes manually?

IIRC zero filling a block is likely cheaper that zero filling holes in it. 
I'd avoid "=void" unless you know you will be copying structs into the space 
(that will copy the holes as well). 

-- 
... <IXOYE><





More information about the Digitalmars-d-learn mailing list