Improve lha decompression performance.