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

Re: request for small API change

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-10-18 18:15:32 CEST

On Sat, 2003-10-18 at 12:06, SteveKing wrote:
> I know that function - I'm using it currently in TortoiseSVN 'cause the
> users requested a localized version of the date string.
> I don't know the subversion code about this quite well but I
> think subversion transforms the apr_time_t value to a string
> just before passing it to the clients. If clients then have to convert
> it back first that means wasting processor time.

Nope; the repository stores the time in string form, it's passed over
the network in string form, and the client gets it with no conversion.

Anyway, so what? This is a tiny amount of CPU time compared to the
expense of running a log or blame operation. Although I happen to agree
with your request on cleanliness grounds, a great deal of evil has been
perpetrated in the name of meaningless performance gains. (Example:
ORBit passes around buffers containing uninitialized data if it's
running over localhost, just to save one or two cycles when doing
alignment. If you use a memory debugger like valgrind on an ORBit-using
program, you have to rebuild ORBit with a special option and install

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 18 18:16:14 2003

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.