[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: Branko Čibej <brane_at_xbc.nu>
Date: 2005-07-25 01:53:29 CEST

SteveKing wrote:

> Hi,
>
> 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.

Perhaps it does, but why bother? Do you propose we change the initial
size of the array every time we add an auth provider. So the
reallocation may be ugly, but it doesn't affect the behaviour of the
client in any measurable way.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 25 01:53:57 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.