Added last of the optimizations from Python