Skip to content
/ ohc Public

A fork of the optimal compressors for Hrust 1.3 and Hrust 2.1 by Eugene Larchenko

License

Notifications You must be signed in to change notification settings

specke/ohc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimal Hrust Compressor

Hrust is a data compressor on ZX Spectrum platform. Here is compressor implementation for PC in C language.

The major thing about this implementation is that it achieves maximum compression possible for Hrust compression scheme.

There are two compressors: for Hrust 1.3 and Hrust 2.1 formats.

About compression algorithm

To find the smallest compressed sequence of all possible, we solve optimization problem using Dynamic Programming.

For finding sequence matches, we use Z algorithm.

The resulting algorithm complexity is O(n2).

About

A fork of the optimal compressors for Hrust 1.3 and Hrust 2.1 by Eugene Larchenko

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages