Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
Compactor V1.0   [2021]

Compactor V1.0 Released by :
Sokrates

Release Date :
4 May 2021

Type :
Other Platform C64 Tool

Website :
https://github.com/FPT-Sokrates/compactor

User rating:awaiting 8 votes (4 left)   See votestatistics

Credits :
Code .... Sokrates of The Tuneful Eight

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
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (5)
· Production Notes
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.083 sec.