From: Johannes Schindelin Date: Fri, 11 Jul 2008 15:48:27 GMT Subject: Re: [PATCH] cherry: cache patch-ids to avoid repeating work Message-ID: In-Reply-To: <7f9d599f0807110841r329dfb95g786a576bd981dd1b@mail.gmail.com> Hi, On Fri, 11 Jul 2008, Geoffrey Irving wrote: > On Fri, Jul 11, 2008 at 8:36 AM, Johannes Schindelin > wrote: > > > Why so complicated? I mean, you can count in that "infinite" loop > > yourself, no? > > Yeah, I was just trying to avoid the extra termination condition, > because I don't think it adds any real safety. Sorry. You absolutely lost me. While doing the loop over the entries, trying to find an entry, adding a counter, and exiting when the counter reaches the total number of slots does not add any real safety? Puzzled, Dscho