]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
perf: Optimize file reading on Windows (#1418)
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 23 Mar 2024 11:54:45 +0000 (12:54 +0100)
committerGitHub <noreply@github.com>
Sat, 23 Mar 2024 11:54:45 +0000 (12:54 +0100)
Reading the file in do_hash_file as Bytes skips CRLF to LF conversion
and is therefore way faster.

Optimize read_file size_hint on Windows by getting the file size of the
existing handle instead of opening a duplicate one.


Trivial merge