News for hackers. Stuff that matters.
Re:What is the most intrusive wart on your favourite program... by DarkShikari on Monday December 08, 2008 @01:28AM (#389573)
The aliasing rules in C. Almost every single case I have found of performance-critical code being compiled suboptimally is due to redundant load/stores being emitted due to aliasing restrictions.

And no, the "restrict" keyword doesn't fix much of anything.

The most annoying rule is that char * pointers can alias anything... especially when one has to deal with enormous amounts of 8-bit image data.

There are no comments on this comment yet.