In the work I do, I often have to rename and delete folders.
Shift-deleting a folder goes pretty quickly - perhaps 10-20 seconds for 1-2GB, while renaming the same folder occurs instantly.
My understanding is that when I shift-delete a folder, Windows is going through the file index and saying 'space x to y is no longer occupied by these files'.
Naively, I figured that Windows would have to do a similar process for a folder rename - changing the windows path on the file index.
Can someone perhaps give a high level overview of what's going on with windows when it renames and deletes folders?