This is partially a followup to Correct Way to Install Rust on Windows for Multiple Users? .
I finally got around to modifying "FindDuplicateFiles" for this purpose and when I inspect the .rustup directory tree, I see about 4.6 to 4.8% of the space is wasted with duplicates. This, by the way, is very low compared to many installations, so this is not a complaint. It's just information.
I did a clean, default install of 1.68.2.
The .cargo tree has 13 identical files in the "bin" subdirectory, but they are all Hardlinked so no space is wasted. The summary for .rustup is below. I can supply the details if there is any interest.
GP
:: Processed 34,560 files with 2,316 groups, 30,212 potential duplicates, and 880 actual duplicates in 212 groups
:: saving 50,030,831 (52,273,152 on Disk) bytes
:: out of 1,047,802,379 (1,137,864,704 on Disk) bytes
:: for a ratio of 4.8% (4.6% on Disk).
:: Detailed Usage:
:: Type Groups Files Bytes
:: ---- ------ ----- -----
:: Total 6,258 34,560 1,047,802,379
:: Filesize 2,316 30,212 261,954,423
:: Content 212 1,092 72,140,512
:: Vol-Cont 212 1,092 72,140,512
:: SymLinks 0 0 0
:: Found 0 duplicate files on different Volumes with a total of 0 bytes.
:: Found 0 already hardlinked files with 0 (0 on Disk) bytes.
:: 6258 Modulo Groups (Buckets) were occupied (2316 inspected) out of 32767.
:: ScanTime = 00:00:02.3225951, MatchTime = 00:00:15.2430169, TotalTime = 00:00:17.5656120,
:: 0 directory Subtrees, 0 directory Contents, and 0 Files were not processed due to Exceptions.
:: Codes: F - First Copy on Volume, L - Linked to First Copy,
:: S - Subsequent Copy on Volume, X - Linked to Subsequent Copy.
:: Only Code 'S' can result in space savings.
::
:: Find Duplicate Files: a Windows(tm) utility.
:: Copyright (c) 2009-2023 by Trailing Edge Technology, All Rights Reserved.
:: Run End Time: 3/28/2023 11:26:29 PM local and 3/29/2023 5:26:29 AM UTC.