12302342dc
At only 50% hit ratio, it's probably costing as much to cache as to recalc, and this simplifies the code better.