Performance improvements, especially in the deflate operator