speed-up: fixed bug in caching of compression lengths
Merge branch 'master' into benchmark