current position:Home>What is the core idea of ​​the first type of dictionary coding method, can you give an example?

What is the core idea of ​​the first type of dictionary coding method, can you give an example?

2022-08-06 18:17:09Alibaba Cloud Q&A

What is the core idea of ​​the first type of dictionary coding method? Can you give an example?




Accepted answer 1:

The core idea of ​​the first type of dictionary encoding method is to find out whether the character sequence being compressed has appeared in the previously input data, and then replace the repeated part with the string that has already appeared.For example 1.png in the figure p is a pointer to the string "abc" that appeared before.


copyright notice
author[Alibaba Cloud Q&A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/218/202208061655129514.html

Random recommended