| |
Website :
https://github.com/FPT-Sokrates/compactor
Credits :
Download :
Look for downloads on external sites:
Pokefinder.org
Summary Submitted by Sokrates on 4 May 2021
I released a new tool named "compactor":
github.com/FPT-Sokrates/compactor
"compactor" is a compression tool for read-only array data. Main features: zero time and zero additional memory is needed for decompression.
A simple example will explain how this works. Consider the following input arrays:
readOnlyArray1 = 1 2
readOnlyArray2 = 2 3
"compactor" output:
compressedArray = 1 2 3
readOnlyArray1 = compressedArray+0
readOnlyArray2 = compressedArray+1
In this example 1 byte is saved. Data access is the same for compressed and uncompressed arrays, i.e. zero time is needed for decompression. Also no additional memory is needed for decompression, since there is no decompression in the traditional sense.
Changing the value "2" in the compressed array would change array 1 as well as array 2, this is why this compression method should only be applied for read-only data.
Data alignment is supported, i.e. given alignments for input arrays are assured relative to the output array. Since this can lead to poor compression results data alignment >1 should be handled with care.
Compression/decompression time is highly asymmetrical for this method, especially for a large number and size of input arrays. This is why I put extra efforts in the calculation speed. As a result, the tool should be fast enough for retro computing, but of course there is also a timeout option.
I hope "compactor" is useful for one or the other. So if you have no memory left and you are desperately searching for some more bytes, you should check out this tool! |
|
|
|
| Search CSDb |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs · Hidden Parts · Trivia
|
|
| Forum | |
|
| Support CSDb | |
|
| |
|