Hello,
"Charalampos Mitrodimas" <charmitro@posteo.net> writes:
What about performance? Depending on the size of the directory,
recalculating alignment could have a minor performance impact.
There is. The largest directory I have on my machine has around 18k
files (~5GB) and the penalty is around 20ms. I've run the tests for both
functions in standalone Emacs session started using 'emacs -Q'. Below
are the profiling results:
Function Name Call Count Elapsed Time Average Time
--------------------------------------------------------
dired-revert-new 10 5.2096629750 0.5209662975
dired-revert-old 10 5.051716523 0.5051716522
dired-revert-new 25 11.843308944 0.4737323577
dired-revert-old 25 11.391448779 0.4556579511
Please let me know if that's too high so we can find another way.