Enhance (speed-up) the way trash empties trash.
|Reported by:||kvdman||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
When you want to empty trash in Haiku, it takes forever. Especially if you say, download something as big, or has as many files as for example, Haiku's sources and then try to delete them.
Is it necessary for Haiku to calculate how much is being deleted, or acquire attribute information, etc. for each file? (is this what happens?). I can only imagine, because it takes near the same time to copy files from one place to another, or 'get info' on a huge directory. Exactly what happens when you empty trash, that after all, are just files you want to get rid of and you don't really care about the size of the files (or probably already know). Is there any way to expedite this process? This is probably something for R2 I'm guessing.