gloryknight
gloryknight
Very good proposal. I suggest to use it as alpha version of the specification.
> what do you think is the right API for this? Second argument for the `compress` would be a bit awkward, since the argument should be added to all of...
@JobLeonard - it is encouraging to see somebody motivated like this. Thank you for you enthusiasm. I have tried to use multiple markers `,{ ":` at the same time. By...
> Remember it's not about outputting the smallest possible pattern, it's about learning common sequences on the input. Let me disagree. Your statement might be true for an infinite homogeneous...
Another breakthrough in selective node splitting (unfortunately breaking change) : since the dictionary entries just before splitting symbol are never used there is no need to add them to the...
Here is the source code: https://github.com/gloryknight/LZstr/blob/master/LZstr2.source.js I switched to unsafe implementation due to speed improvements. Here is the compression speed comparison between original, unsafe and splitting with clean dictionary (Compression...
You are right. In this particular case pure separator splitting will produce worse results but we are using a trick and do not split entries starting with a separator. This...