Re: [Census] So who uses git?
From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:17
On Wed, 1 Feb 2006, Martin Langhoff wrote:
If you have such a tree, your workflow _must_ be such that you know exactly what files you have changed. Asking any tool to go out and "find which of my 20K files has changed" is doable, but it's just magic that it works on recent linuxes.
It's not magic, and it's not all that recent. Linux FS ops have always been pretty good, and the dentry cache was introduced in 2.0.x, I think, so you'd be hard-pressed to find a Linux system that doesn't have it. Now, I bet Linux will be better (often by a factor of 2-3) than most other systems, but that still doesn't mean that 20k files is totally unreasonable on other setups. I suspect cygwin is worse than most because (a) the NT VFS layer is piss-poor and you need a kernel service to get good performance and (b) cygwin probably adds its own overhead for handling symlinks, so the "lstat()" call is probably even more expensive. Now, the networked filesystems are a potential problem for everybody. Linus