woothemes/woocommerce — pull request #4488 by GeertDD (2014-01-10 23:06:45+00:00)
Title: Cached tax rates

This saved me about 300 database queries on a shop page with about 50 products. The same tax `find_rates()` database query seemed to be called over and over again, triggered by `get_price_html()`.

Haven't done extensive testing. I hope, at least, you like the idea. Most of the diff are just tab indents. Check out the first and last part.