Realistic usage of the C99 ‘restrict’ keyword?

restrict says that the pointer is the only thing that accesses the underlying object. It eliminates the potential for pointer aliasing, enabling better optimization by the compiler. For instance, suppose I have a machine with specialized instructions that can multiply vectors of numbers in memory, and I have the following code: void MultiplyArrays(int* dest, int* … Read more