iliaal/php-fastlz — comment on commit e0b6cd140298d593a77a01c9eff6cca1bf3c132c
File:  line 0
By jordiclariana:

Hi Iliaal.

I guess you realized that this can never work, because you were trying to compare compressed length with uncompressed length. I made the same mistake and when I realized about it, I did the null char trick (though I know it breaks backwards compatibility). However, I've been working on using the 6pack to handle the fastlz data (as the original lib author does), not using files, but memory. This way there will be more consistency with the data, and the "memory reservation problem" would be solved. I haven't finished yet, but I'll let you know when I have it if you have interest. My worries are that this might not be as fast as using just fastlz, but I will do some tests.
I hope you don't mind if I use some of your code.

Jordi.