International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 183 - Number 5 |
Year of Publication: 2021 |
Authors: Ioannis S. Xezonakis, Svoronos Leivadaros |
10.5120/ijca2021921315 |
Ioannis S. Xezonakis, Svoronos Leivadaros . N-ary Huffman Encoding using High-Degree Trees - A Performance Comparison. International Journal of Computer Applications. 183, 5 ( May 2021), 33-39. DOI=10.5120/ijca2021921315
In this paper an n-ary Huffman Encoding and Decoding application is implemented, using different degrees of tree structures. The goal is to compare the performance of the algorithm in terms of compression ratio, decompression speed and weighted path length when using higher degree trees, compared to the 2-ary Huffman Code. The Huffman tree degrees compared are 2-ary, 3-ary, 4-ary, 5-ary, 6-ary, 7-ary, 8-ary and 16-mal. The impact that branch prediction has on the performance of the n-ary Huffman Decoding is also presented.