This achieves a few percent speed increase without hurting compression performance. Change-Id: I040e9bb69274f7de843bdd15926a5c924b30a731