|
|
|
|
|
by desperate
1749 days ago
|
|
Can you explain? I'm (semi) familiar with the heap and definitely hated on first fit and next fit in favor of beat fit. I get that its gonna take significantly less time to find a block to allocate but why does listing files benefit so much from it and not run into a memory usage problem. Unless your splitting the block on allocation but then i would think you still have a peoblem cause you'd have a high degree of external fragmentation. I typed a lot so i can be better corrected, not because I understand what is going on. |
|
At the time people looked down on it mostly because everybody else did it differently and DOS looked like a toy OS compared to more advanced ones.
Of course, my comment is kind of a joke. There many advantages on more advanced ways to list files on a directory. Not having to make one syscall for every file is just one.