Rewriting lazy code to make things 3 times as fast.

Manton Reece @manton