Ticket #1648 (closed cage: done)
Look at using restrict keyword on pointers
Reported by: | petdance | Owned by: | petdance |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | build | Version: | 2.3.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.