Re: svn commit: rev 4559 - trunk/subversion/libsvn_subr
From: <cmpilato_at_collab.net>
Date: 2003-01-24 16:08:16 CET
philip@tigris.org writes:
Author: philip
I was wondering the other day if we shouldn't just do a single
svn_stringbuf_ensure(retstr, strlen (path) * 3) + 1);
(This is worst case -- each char is replaced by three (%XX), and
Or, do it the first time we find a char that needs replacing (someone
svn_stringbuf_ensure(retstr, copied + strlen (path + copied) * 3) + 1);
Anyway, just an idea.
---------------------------------------------------------------------
|
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.