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

Re: UTF-8

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-05-23 01:33:43 CEST

Philip Martin <philip@codematters.co.uk> writes:

> This is a memory optimisation, I don't know if it is significant or
> desirable, that depends on how often this function is called. It
> optimises by avoiding the second allocation that currently occurs when
> the stringbuf is created. In addition if APR ever provides a realloc
> function then the svn_stringbuf_ensure call may be able to expand
> in-place when E2BIG occurs.

Memory optimization is significant and desirable, that function gets
called a lot. I'll make the suggested changes. Thanks!

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 23 01:38:32 2002

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.