Comparative Analysis of the Ternary Comma Code (TCC) Algorithm and the Fibonacci Algorithm in Text File Compression
DOI:
https://doi.org/10.30865/ijics.v9i1.8887Keywords:
Data compression, Ternary Comma Code, Fibonacci algorithm, Compression ratio, Text filesAbstract
he rapid growth of digital technology has led to an exponential increase in data volume, creating challenges in data storage and transmission efficiency. Data compression plays a critical role in addressing these issues, particularly for text files, which are among the most commonly used data formats. This study aims to perform a comparative analysis between the Ternary Comma Code (TCC) algorithm and the Fibonacci algorithm in text file compression. Experiments were conducted using various text files of different sizes, with key evaluation metrics including compression ratio, compression time, and decompression efficiency. The results indicate that each algorithm performs better under different conditions: TCC provides a higher compression ratio, while Fibonacci achieves faster processing times for small to medium-sized files. This research contributes to selecting the most suitable compression algorithm based on the specific needs and characteristics of the text data being compressed.
References
T. S. Pratama, “Analisa Perbandingan Yamamoto Recursive Code Dan Elias Gamma Code Dalam Kompresi File Teks,” vol. 6, no. November, pp. 340–344, 2022, doi: 10.30865/komik.v6i1.5735.
N. Yuni and I. Hutagalung, “Penerapan Algoritma Taboo Codes Pada Kompresi File Text,” vol. 1, no. 2, pp. 43–49, 2022.
A. Z. Torshizi and M. R. Khalvati, “Efficient Data Compression Using Fibonacci Coding in Wireless Sensor Networks,” J. Commun. Softw. Syst., 2020, doi: 10.24138/jcomss.v16i1.844.
R. V. Dharaskar and A. R. Bhirud, “Performance Evaluation of Fibonacci Coding for Text Compression,” Int. J. Comput. Appl., vol. 183, 2021, doi: 10.5120/ijca2021921336.
A. N. Purnama, “Implementasi Algoritma Rice Code dan Ternary Comma Code Pada Kompresi File PDF,” vol. 6, no. November, pp. 34–42, 2022, doi: 10.30865/komik.v6i1.5787.
A. N. Irwanda, “Implementasi Algoritma Ternary Comma Code (TCC) Dalam Mengkompresi File Audio Pada Aplikasi Perekam Suara,” Bull. Multi-Disciplinary Sci. Appl. Technol., vol. 1, no. 4, pp. 119–125, 2022.
M. A. Syahputra and P. Ramadhani, “Implementasi Metode Fibonacci Dalam Kompresi Iklan Pada Website PT. Amanah Wisata Travel,” KOMIK (Konferensi Nas. …, vol. 4, pp. 228–231, 2020, doi: 10.30865/komik.v4i1.2685.
M. A. Latif, S. D. Nasution, and Pristiwanto, “Analisa Perbandingan Algoritma Rice Codes Dengan Algoritma Goldbach Codes Pada Kompresi File Text Menggunakan Metode Exponential,” Maj. Ilm. INTI (Informasi dan Teknol. Ilmiah), vol. 13, no. 1, pp. 28–33, 2018.
S. Siregar, F. Fadlina, and S. Nasution, “Enhancing Data Security of Columnar Transposition Cipher by Fibonacci Codes Algorithm,” 2020, doi: 10.4108/eai.11-12-2019.2290839.
A. N. Irwanda, “Implementasi Algoritma Ternary Comma Code (TCC) dalam Mengkompresi File Audio pada Aplikasi Perekam Suara,” J. Teknol. Inf. dan Komput., 2022.
N. Ningsih, S. D. Nasution, and T. Zebua, “Penerapan Algoritma Ternary Comma Code Pada Aplikasi Kompresi File Gambar,” J. Comput. …, vol. 1, no. 3, pp. 141–148, 2020.
A. N. Purnama, “Implementasi Algoritma Rice Code dan Ternary Comma Code untuk Kompresi File PDF,” J. Teknol. dan Sist. Komput., vol. 9, 2021, doi: 10.14710/jtsiskom.2021.250-256.
and K. U. I. Maharani, M. Syahrizal, “Perancangan Aplikasi Kumpulan Novel Dengan Menerapkan Algoritma Fibonacci Code”, doi: doi: 10.30865/komik.v6i1.5765.


