3 ms·
new Node<TStruct>[16]; new TStructContainingNode[16]; What’s the difference?
by mastax 2y ago
new Node<TStruct>[16];
new TStructContainingNode[16];
What’s the difference?
- ulbu 2y agothere’s 16 contiguously stored pointers to 16 non-contiguously stored tstructs (they may be contiguously stored, but you can’t make this assumption from this type). there’s 16 contiguously stored tstructcontainingnode’s.
- deleted 2y ago[deleted]