1 compression algorithm principle,
2 a third-party library file compression,
3 the use of compression tools available,
But can't find about the realization of the compressed folder, even could not find the library function directly compressed folder, third-party libraries interface is compressed file, (see the zlib and snappy document)
I want to ask,
1. Multistage directory folder, what is the realization of the compression process, personal guess is that the recursive traversal folder file, compression, in turn compressed file is used to record information folder name, do not know right
2. Which open source libraries provide folder directly compressed,
3. What are the books recommended by decompression document
PS: also want to know about the process about multi-threaded decompression, this will be considered the digression, out of personal interest,
CodePudding user response:
Compressed folder, slant the underlying drivers,CodePudding user response:
All compression is based on the file, it is good to oneself traversalCodePudding user response:
Multithreaded also can unzip, because generally a compressed file contents are continuous, find the start and end positionCodePudding user response: