View Single Post
  #9  
Old 12-03-2012, 10:43 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Rules can be changed at runtime, so it probably would not be good to cache the value. Even if you did all you're saving is a function call and a lookup by index in a static array, so I'd say not worth worrying about at all.
Reply With Quote