On the Competitive Ratio of Evaluating Priced Functions