Article: The Lost Art of Structure Packing
Lance Bachmeier
no at spam.net
Mon Nov 2 01:18:51 UTC 2026
On Monday, 2 November 2026 at 00:29:56 UTC, Richard (Rikki)
Andrew Cattermole wrote:
> I found this rather nice article about padding in structs, it
> also applies to D.
>
> http://www.catb.org/esr/structure-packing/
Thanks for the reference. Claude recently used padding to
increase my parallel random number generation speedup on 16
processes from 4x to 11x when using std.parallelism. I was
unaware that it could be so powerful. The article may provide
some insight.
More information about the Digitalmars-d
mailing list