From: Joel Rosdahl Date: Sat, 23 Mar 2024 11:54:45 +0000 (+0100) Subject: perf: Optimize file reading on Windows (#1418) X-Git-Tag: v4.10~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d94ee28ae08742cb1235cc9b43c297da516ad4d;p=thirdparty%2Fccache.git perf: Optimize file reading on Windows (#1418) 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. --- 5d94ee28ae08742cb1235cc9b43c297da516ad4d