Assuming the cost of building the cache is ammortized, this may be be helpful because it removes some quadratic behavior.