Comparison of Huffman Algorithm and Lempel Ziv Welch Algorithm in Text File Compression

The development of data storage hardware is very rapidly over time. In line with the development of storage hardware, the amount of digital data shared on the internet is increasing every day. That way no matter how big the size of the storage device we have, of course, it will only be a matter of t...

Full description

Saved in:
Bibliographic Details
Published in:IT journal research and development (Online) Vol. 7; no. 2; pp. 155 - 169
Main Authors: Fauzan, Mohamad Nurkamal, Alif, Muhammad, Prianto3, Cahyo
Format: Journal Article
Language:English
Published: 30.12.2022
ISSN:2528-4061, 2528-4061
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:The development of data storage hardware is very rapidly over time. In line with the development of storage hardware, the amount of digital data shared on the internet is increasing every day. That way no matter how big the size of the storage device we have, of course, it will only be a matter of time until that storage space is exhausted. Therefore, in terms of maximizing storage space, a technique called compression emerged. This study focuses on a  comparative analysis of 2 Lossless compression technique algorithms, namely the Huffman algorithm and Lempel Ziv Welch (LZW). A number of test files with different file types are applied to both algorithms that are compared. The performance of the algorithm is determined based on the comparison of space saving and compression time. The test results showed that the Lempel Ziv Welch (LZW) algorithm was superior to Huffman’s algorithm in .txt file type compression and .csv, the average space savings produced were 63.85% and 77.56%. The degree of compression speed that each algorithm produces is directly proportional to the file size.
ISSN:2528-4061
2528-4061
DOI:10.25299/itjrd.2023.10437