Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GitHUb use DGit to (effectively) get loose objects on demand and cache them locally.

Parsing the packfile indexes is ridiculously fast; even in a memory-constrained environment the OS will manage loading data from disk so you only use a few pages. Inflating objects from packs is slower & will trash your memory; rendering to HTML will be even worse.

Perhaps 1GB is not enough RAM to host a webviewer of the firefox repo? Maybe if you generate a static site version of it…



>DGit I was looking for this yesterday, glad to see I wasn't misremembering.

You're right, 1GB is not enough but it's all that I have so I have to make do.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: