nullpunkt / lz-string-php

PHP Class implementation of LZ-String javascript
105 stars 54 forks source link

fix: lz-string-php compression overhead removed #23

Closed peetervois closed 3 years ago

peetervois commented 3 years ago

This pull request does fix overhead that happens with PHP UTF-8 string indexing. The calculation complexity was raising exponentially and became unusable when the compressed message was even less than 1MBytes.

nullpunkt commented 3 years ago

Thanks mate - awesome that you fixed this issue.