]> git.ipfire.org Git - thirdparty/tar.git/commit
Improve sparse I/O performance
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 20:06:47 +0000 (13:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 20:43:05 +0000 (13:43 -0700)
commit568919d77b346bfc833d476761204f3325868c0a
tree5953cc56402c811282cb281fd40ad98998bd7292
parentc500103600d64fcfd533a0f43cd47178d56bb2c9
Improve sparse I/O performance

* src/sparse.c (sparse_dump_region, sparse_extract_region):
Don’t insist on reading and writing sparse files 512
bytes at a time.  This resulted in a 4× to 6× performance
improvement on my platform.
NEWS
src/sparse.c