On Sat, 14 Aug 2004, Greg Hudson wrote:
> On Sat, 2004-08-14 at 18:54, Erik Huelsmann wrote:
> > Create a stream for stdout/stderr.
> > Create a stream which recodes UTF-8 to native, which allocates its own xlate
> > handle.
> > Forward all output from the recoding stream into the stdio stream.
> > Recode all UTF-8 to native with the allocated handle (which is stored in the
> > stream baton).
>
> I imagine "svn status" also has to do recoding in order to perform
> filesystem operations, which don't involve stdout/stderr. So we might
> still be allocating just as many xlate handles even if we take care of
> stdout/stderr using a stream approach.
>
Yes. When I did svn st on my svn trunk WC, there were thousands of
character translations. The ones needed for console I/O must be a small
fraction of these. I think you could just use our current APIs for
translation. We need to improve the caching in some way, so don't
complicate the stream code.
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 15 11:24:34 2004