You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performance can be improved by dynamically allocating a rather big block/amount of sectors while a file is being written to.
Once the file is fully written, the spare sectors can be deallocated.
This is similar to ArrayLists, in most cases without the disadvantage of wasting memory.
Also, the sectors can be of dynamic size by storing a pointer to the next sector directly next to the data.
The text was updated successfully, but these errors were encountered:
Before the file is written to, the new file size is already known and it is already allocated accordingly.
Also, dynamic sizes would in total decrease performance even more, because random access would not be possible and sizes would have to be stored.
Performance can be improved by dynamically allocating a rather big block/amount of sectors while a file is being written to.
Once the file is fully written, the spare sectors can be deallocated.
This is similar to ArrayLists, in most cases without the disadvantage of wasting memory.
Also, the sectors can be of dynamic size by storing a pointer to the next sector directly next to the data.
The text was updated successfully, but these errors were encountered: