3 ms·
Wasn't the original Apple "filesystem", circa II, a flat one? That is, a list. Not only is it easier to work with, as the article suggests, but, obviously, it'
by iioowwee 14y ago
Wasn't the original Apple "filesystem", circa II, a flat one?
That is, a list.
Not only is it easier to work with, as the article suggests, but, obviously, it's faster!
I use globbing on a daily basis over other later approaches, e.g. regex. But it works best with a relatively flat filesystem. Too deep, and it's off.
The simplest approach possible.
But before we can fix filesystems, maybe we need to teach people how to name files in ways to make their life simpler. Long filenames and ones with spaces and punctuation inevitably become a huge PITA. Yet we think of these as "must-have" conveniences.
I used to believe that too. But over time I've realized this slows things down immensely and introduces lots of unneeded complexity. Speed and simplicity is more important.
If you can get by with only a "list of files", you are better off.