parrot/parrot — Issue #177: Look at using the "restrict" keyword on pointers.
Author: petdance
Created: 2011-10-19 19:36:09+00:00
State: open
Labels: build

The `restrict` keyword can lead to improved optimizations by the compiler.

http://en.wikipedia.org/wiki/Restrict

GCC 4.5 "now makes better use of the information provided by the restrict keyword... to generate better optimized code."

https://lwn.net/SubscriberLink/387122/4555e15215cc7faf/

Look to see if we can get any performance benefits from it.

Here's a good blog post about the `restrict` qualifier: http://lbrandy.com/blog/2010/06/you-cant-beat-a-good-compile/