Optimize for speed rather than space