More efficient internal stream datastructure

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

More efficient internal stream datastructure

Post by Maël » 20 Jun 2011 19:48

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