3 ms·
Crazy idea... but what if you stored the files in a fast purpose-built database instead of the normal file system. You would have to mount it I suppose, to be a
by im3w1l 3y ago
Crazy idea... but what if you stored the files in a fast purpose-built database instead of the normal file system. You would have to mount it I suppose, to be able edit the files. But I think it could be very performant.
- gpderetta 3y agoThe filesystems is a database for storing files already. There is no particular reason a different approach be faster in principle.
- kmeisthax 3y agoGit actually does have a separate disk format that's way more database-like, but it's only used for older data that doesn't need to be shuffled around as often. Git was written assuming the filesystem is decently fast at metadata mutation, which is a good assumption on Linux and less so on Windows.
- im3w1l 3y agoGit needs some queries that filesystems arent very good at natively, like "get all modified files". There are workarounds but yeah.
- mdaniel 3y agohttps://en.wikipedia.org/wiki/WinFS https://en.wikipedia.org/wiki/WinFS I was actually secretly cheering for that project, because I thought it could be actually innovative But, as I look back on that with my modern understanding of Microsoft's backward compatibility focus, I realize such a thing would never, ever fly
- justsomehnguy 3y ago.WAD .PAK .PK3