3 ms·
A queue is simpler to implement than a deque and the same is true of a file system: supporting growing the file in both directions is more complicated than supp
by kbolino 2y ago
A queue is simpler to implement than a deque and the same is true of a file system: supporting growing the file in both directions is more complicated than supporting growing the file in one direction. In practice, append is much more common than prepend, so the extra bookkeeping and code doesn't seem to be worth it in general.
- o11c 2y agoThat's much less of a concern ever since everybody switched to extent-based filesystems. The real concern is block alignment.