3 ms·
The restrict keyword helps with this.
The restrict keyword helps with this.
Provided their user knows what they are doing and never do the mistake to lie to the compiler.
That, or switching to FORTRAN. For numeric / HPC it is much easier to get a decently fast implementation there.