Re: Git is not scalable with too many refs/*
From: Michael Haggerty <hidden>
Date: 2016-06-15 22:52:10
On 10/03/2011 02:46 AM, Martin Fick wrote:
Michael Haggerty [off-list ref] wrote:quoted
I also have some code (not pushed) that adds some intelligence to make the use case repeat many times: check if reference exists add referenceWould it be possible to separate the two steps into separate loops somehow? Could it instead look like this:quoted
repeat many times: check if reference existsquoted
repeat many times: add reference
Undoubtedly this would be possible. But I'd rather make the refs code efficient and general enough that its users don't need to worry about such things.
[...] Of course, this would likely require checking for dups before running the first loop.
Yes, and this "checking for dups before running the first loop" is approximately the same work that would have to be done within a smarter version of the refs code. Michael -- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/