lzx_compress.c: optimization for lzx_compute_precode_items()