performance: reduce system calls required for remove_dead_links
`os.path.exists()` will report False if the target of a symlink doesn't exist, so we can avoid a costly call to realpath here.
Please register or sign in to comment
`os.path.exists()` will report False if the target of a symlink doesn't exist, so we can avoid a costly call to realpath here.