Comment by einpoklum
3 years ago
So you're saying that the aliasing defaults of C are an issue. Well... I suppose, but - not `restrict`ing your pointers in the hottest part of the code is a bit like not compiling with optimizations on.
3 years ago
So you're saying that the aliasing defaults of C are an issue. Well... I suppose, but - not `restrict`ing your pointers in the hottest part of the code is a bit like not compiling with optimizations on.
Yes, in the end it's just a regular optimization issue, check the compiler output, tweak the code, rinse-repeat...