Guest User

Untitled

a guest
Dec 31st, 2025
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. Compression algo comparison
  2. So, Let's checkout our options, sabse pahle to homework copy karkar dekhte hai.
  3. Git uses zlib so that is one contender
  4. Comparing gzip and zlib is useless as gzip only adds a wrapper so not needed.
  5. So, after watching some youtube videos, ig this one summarizes the code implementation well
  6. https://www.youtube.com/watch?v=pRhtjx0dw_k
  7. After reading overview of most of them, i concluded that lmza and bz2 slow but more space efficient hai. So ruled them out for this project. given mai se to zlib hi bacha tha
  8. But then I read about this VCS in the problem statement called mercurial and in their help page they mentioned they shifted to zstd(https://mercurial-scm.org/help/topics/config) because it is a "net win over zlib"....
  9. So I checked zstd out and on thier wikipedia I read arch linux also uses it on thier open repo(I use ~~arch~~ endeavor btw) Himansh see arch. Himansh happy.
  10. Btrfs mai bhi ye use hota hai
  11. So in my benchmark program i added zstd and damnn atleast on the diff.c file it gave better compression ratio in less than half the time of zlib...
  12. So ab ispar research karkar issi ko final karte hai
Advertisement
Add Comment
Please, Sign In to add comment