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

Same strategy as git uses for objects, .git/objects/d6/70460b4b4aetc

https://git-scm.com/book/en/v2/Git-Internals-Git-Objects



Git chooses to pack them into much fewer files when there are lots of loose files.

Actually, these days many filesystems perform surprisingly well with lots of little files. What don't work with huge directories is basic utilities like ls, or anything that likes to collect file list in memory & sort it. I have some directories that essentially hang ls, where find is still happy listing the files (because it just streams the output).




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

Search: