[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] avoid memory reallocation

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-08-18 21:13:04 CEST

On Thu, 18 Aug 2005, Michael W Thelen wrote:

> SteveKing wrote:
> > This is really a *very* little thing:
> >
> > The CL client uses an array to store all the auth providers. The initial
> > size of that array is set to 10, but on Windows, there's one auth
> > provider more so the array is always reallocated (or I'm counting wrong,
> > could happen too).
> > This very little patch takes care of this.
>
> Pinging this patch... Brane objected, saying that it's not worth the
> bother to change the initial size whenever a new auth provider is added.
> Steve responded that new auth providers are not added often, and the
> initial size already seems to be intended to accommodate all auth
> providers, which it doesn't quite do on Windows.
>
I think this can be fixed the next time we add a provider.

But you're right that there is nothin gwrong with it.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 18 21:13:44 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.