3 ms·
I read that with a combination of fascination and nausea. Well played. But actually I remember that it can occasionally be used in image processing too, when
by Iv 9y ago
I read that with a combination of fascination and nausea.
Well played.
But actually I remember that it can occasionally be used in image processing too, when you would use a pointer to iterate through an image, I would routinely use things like
dx = *(ptr+1)-*(ptr-1);
which is essentially the same as
dx = ptr[1] - ptr[-1];