summaryrefslogtreecommitdiff
path: root/src/check-nautilus
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2023-01-20 10:36:59 -0800
committerCorey Berla <corey@berla.me>2023-04-07 20:46:45 -0700
commitcb406e31a41511b0450ab9a714813de335afd445 (patch)
tree63161b1ddfe18eecd5aebc9fa99a66a7d49abdb2 /src/check-nautilus
parent65f420907b0541a371a0815399c8834ceb72a62f (diff)
downloadnautilus-cb406e31a41511b0450ab9a714813de335afd445.tar.gz
files-view: Replace REMOVE_FILE with REMOVE_FILESwip/corey/performance-remove-files
Files are added in bulk to the view with ADD_FILES, but then removed from the view with REMOVE_FILE, which takes a single file. This is very inefficient in the case where a large number of items are deleted. In other words, if you delete a folder with 1,000 items, the process completes very quickly, but if you delete the 1,000 items, Nautilus will hang for an extended period of time. This can be a common problem if the view is current showing Trash, and the the trash is emptied.
Diffstat (limited to 'src/check-nautilus')
0 files changed, 0 insertions, 0 deletions