Minor tweak to rate.cpp
|Reported by:||SF/robinwatts||Owned by:||fingolfin|
Fingolfin points out that some compilers are crap at optimising array accesses due to pointer aliasing.
This patch therefore avoids using the 2 place arrays, and instead uses 2 normal variables.
This produces larger source, but any decent compiler should only keep one side of the if when it does the template instantiation, so will work out better overall.
Ticket imported from: #1738426. Ticket imported from: patches/799.