On Windows, "re-generating" existing thumbnails takes a long time when there are many images

I’m still wondering if and how this issue relates to this one: Image (Resize, Crop, ...) doesn’t use previous generated files (no Windows involved)