Stat cache: unchanged text files are still read on every snapshot issue #3 closed: completed andymccall opened this · 0 comments
andymccall set labels performance ·
closed by change 696bbf29d3eb ·
andymccall set labels performance ·
closed by change 696bbf29d3eb ·
The stat cache skips reading opaque files whose size and mtime are unchanged, but every text file is still read on each snapshot. When a stat-clean text file's recorded hash equals the base state's rendering of it, its bytes can come from the base instead of the disk, without ever missing an edit.