Improve comment in UnixFileSystem#getFastDigest.
PiperOrigin-RevId: 333766876
diff --git a/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java b/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java
index 4b8ef9e..e29da66 100644
--- a/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java
+++ b/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java
@@ -408,8 +408,8 @@
@Override
protected byte[] getFastDigest(Path path) throws IOException {
- // Attempt to obtain the digest from an extended attribute attached to the file. This prevents
- // the checksum from being recomputed unnecessarily.
+ // Attempt to obtain the digest from an extended attribute attached to the file. This is much
+ // faster than reading and digesting the file's contents on the fly, especially for large files.
return hashAttributeName.isEmpty() ? null : getxattr(path, hashAttributeName, true);
}