algorithm - How does WinRAR perform a compression ratio check? -


For example how can it tell that a 4GB text file can be compressed for 200 MB? Obviously, it does not read all the contents in 2 or more seconds ... so what kind of predictive algorithm (s) does it use?

They use the prediction type, called ppmmd by partial matching (ppm).

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -