Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by bewuethr

15 hours ago

I think the 250 files all containing just "foo" are stored as a single blob, too, even before creating a packfile.

2 comments

bewuethr

Reply

fiddlerwoaroof  14 hours ago

I forgot about that, delta compression still can save quite a bit when you have nearly-identical files.

  • bewuethr  14 hours ago

    Exactly, a tiny change in a large file produces a full new blob, but is stored very efficiently as a delta in a packfile.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities