I regularly use btrfs's snapshot to backup the whole system, but it's redundant to have identical files between different snapshots. Commonly, for example, I took a snapshot of @ as @_without_install_nvidia_driver, and installed nvidia_driver. A few days later, I updated the system, which resulted in a massive number of file changes. Afterward, a few days later, I found that the nvidia_driver package was unstable, and reverted back to @_without_install_nvidia_driver, but I had to update the system again, and there I realized that identical files existed in both snapshots, because the system had now been updated in both snapshots.
That got me wondering: Is there a way to merge identical files between different snapshots?