K
K
kingslayer2021-07-16 19:19:52
IT education
kingslayer, 2021-07-16 19:19:52

Is it worth looking at the archiving algorithm in order to write an archiver?

I want to write an archiver, and I started to study the lzw compression algorithm, I don’t know how to write it, I understand the work in general terms, is it worth looking at the archiver algorithm to understand its work or should I try to implement it myself? the algorithm seems to be simple, but it is not clear

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mkone112, 2021-07-16
@mkone112

I want to write an archiver, and I started to learn the lzw compression algorithm, I don't know how to write it

Probably because you haven't finished studying it yet, your cap.
is it worth looking at the algorithm of the archiver to understand its work or is it worth trying to implement it yourself

What the... Yes, whatever you want.

W
Wataru, 2021-07-16
@wataru

If nothing is clear to you from the description, then looking at someone else's code will not help you at all. You simply won't understand anything there. Only later, to ask about possible optimizations or tricks - perhaps it makes sense. But this is another level.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question