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

Re: Something I noticed when looking at update performance with char_is_uri_safe

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-11-26 20:22:44 CET

On Tue, 2002-11-26 at 10:56, Michael Price wrote:
> So given that your three heavy hitters are the first three characters in
> the string, I'd say that replacing it with a couple of if statements won't
> give you much of an improvement at all.

But char_is_uri_safe could be made a macro using a character table.

> Put your working copy on an NFS
> mount and you will see a new definition of pain and suffering. This
> strchr() is nothing.

That's quite possible. I didn't catch how much time is spent in
char_is_uri_safe.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 26 20:23:34 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.