More efficient internal stream datastructure

Wishlists for new functionality and features.
Post Reply
Maël
Site Admin
Posts: 1455
Joined: 12 Mar 2005 14:15

More efficient internal stream datastructure

Post by Maël »

When a lot of edits are done to a file, the in-memory representation gets very fragmented.
This causes slow saving.
Creating minimum-size blocks would fix this and also avoid writing whole sectors in one go instead of writing them several times (bad for flash drives).

Example scenario: File with a lot of zero bytes. Zero bytes get stripped => lots of small edits => lots of tree-nodes => slow and several writes to same sector.
Post Reply