4 ms·
The aim of cmix is to use as many context mixing models as is necessary to get the best possible compression ratio as an academic exercise. Little attempt was m
by dllu 11y ago
The aim of cmix is to use as many context mixing models as is necessary to get the best possible compression ratio as an academic exercise. Little attempt was made to make it faster or use less memory. That said, the author recently communicated to me an idea to make it use orders of magnitude less memory. Instead of running all the context models in one pass while storing all their states, one could run each model in a separate pass, so that only the memory for one context model needs to be stored at any point in time. Since the original program was not multithreaded, this does not affect the running time. Unfortunately that requires rewriting the whole thing and he is preoccupied with other projects at the moment.