2 ms·
> using a class instead of a struct I'd never heard that before... how would that make a difference?
by commandlinefan 5y ago
> using a class instead of a struct
I'd never heard that before... how would that make a difference?
- bob1029 5y agoConsider an array of classes vs an array of structs. Scanning classes linearly still requires pointer indirection. Value types such as structs have everything inline.
- deleted 5y ago[deleted]