Increased performance of #total