magento/magento2 — pull request #464 by Dorn- (2014-01-08 11:27:10+00:00)
Title: Optimization on Weee tax calculation

Just load the needed weee attributes and avoid a sort which does not seem useful.
The difference is really big when you have a lot of attributes (1k) and a lot of products in the cart (>15).
This is a workaround for the issue I submitted (Issue #460)