]> git.ipfire.org Git - thirdparty/ccache.git/commit
perf: Use sendfile(2) for file copying (#1427)
authorRaihaan Shouhell <raihaanhimself@gmail.com>
Sat, 13 Apr 2024 18:33:31 +0000 (02:33 +0800)
committerGitHub <noreply@github.com>
Sat, 13 Apr 2024 18:33:31 +0000 (20:33 +0200)
commit0883b97fe7d15b8ac4afe458ba9652c5d50751da
tree28046aa023fdc6005dedd56f6c5c56f51ac71912
parentf5f1e429428260df65ffbe5e26150d4077d4a129
perf: Use sendfile(2) for file copying (#1427)

Use sendfile for file copying as it avoids copying the data to
user-space and back to kernel space.
cmake/GenerateConfigurationFile.cmake
cmake/config.h.in
src/ccache/util/file.cpp
unittest/test_util_file.cpp