|
WiltVariants
Variants of the Wilt algorithm
Featured IntroductionSince Wilt is very simple, it is easy to tweak for particular uses. This page contains some examples and suggestions for this. Feel free to modify the algorithm as you see fit to suit your purposes! Wilt-16Wilt-16 is a variant of Wilt, designed to work on 16-bit words instead of bytes. This makes it slightly more efficient at encoding data that is 16-bit aligned (and worse at data which isn't). It also lets the decoder write only 16-bit values to memory, which is useful on platforms where only 16-bit writes are possible, such as when decompressing directly to VRAM on the Nintendo GBA or DS hand-held consoles. An implementation of Wilt-16 is available in the source code repository. Differences
LiteralsAs a 65535-probability state for literals would be quite excessive, Wilt-16 uses a shortened context for literal bits. Each bit only relies on the four preceeding bits received (or less when four are not yet available). The sets of 16 different probabilities for each bit are also still independent from each other. Possible other variants
|