8 ms·
> Replacing pointer arithmetic where it's needed with array indexing stands out the most but there's other issues. What situations do you run into where array
by zenhack 6y ago
> Replacing pointer arithmetic where it's needed with array indexing stands out the most but there's other issues.
What situations do you run into where array indexing is not an acceptable substitute for pointer arithmetic?
- loup-vaillant 6y agoFor the record, implementing Monocypher was not one of them. I use arrays everywhere. The one borderline case I can cite is wiping memory. I go by sizeof() and access each byte.