Bruno Haible <br...@clisp.org> writes: >> Did this implementation work fast enough while avoiding the library >> dependency? Or was there another reason to not use it? > > libgit2 has a lot of dependencies, see > <https://packages.debian.org/bookworm/libgit2-1.5>. Therefore relying on > this library needs a good justification, IMO. > > The way 'vc-mtime' now works is that (for, say, less than 1000 files > at once) it makes 3 'git' invocations. In a scenario where the total > time is 12 seconds, some of these calls take more than 5 seconds. This > indicates that the bottleneck is the git processing itself. (Like > when one starts 'gitk' in a checkout of the FreeBSD repository.) > Replacing 3 program invocations with library calls would not save > more than 0.1 seconds off the 12 seconds. That is not a speedup > that would be worth a dependency on libgit2.
Ah, I see that makes sense. Thanks for the explanation. Collin