4 ms·
Is there any point where you would want to pass a pointer but NOT because you want mutable state, simply because it's more efficient or something?
by sausagefeet 16y ago
Is there any point where you would want to pass a pointer but NOT because you want mutable state, simply because it's more efficient or something?
- jpr 16y agoWell, pointers have fixed size, random structures may be arbitrarily big and involve a crapload of copying.