From Saku Ytti [mailto:saku+svn@ytti.fi]
> On (2006-05-18 12:19 +0200), Anders J. Munch wrote:
> > From: Saku Ytti [mailto:saku+svn@ytti.fi]
> >
> > > Quick scan of pysvn suggests same problem is there.
> >
> > Try reducing scanning speed :-)
>
> Oh super. I wonder why I can't(?) do that in perl[0]. Thats definitely acceptable
> solution, even though I need to call client.cat 4k times in worst cases.
> Just due to efficiency reasons don't want to call the script inside
> perl script so I have to consider porting the script.
>
> [0]
> $ctx->cat(\*FILEHANDLE, $target, $revision, $pool);
> Outputs the content of the file identified by $target and
> $revision to the FILEHANDLE.
> FILEHANDLE is a reference to a filehandle.
So what's a FILEHANDLE in perl? Can it be some sort of virtual file
that when written to builds up a string (like stringstream in C++ or
StringIO in python)? If it absolutely has to be an integer that
refers to some OS-level resource, you could perhaps create a pipe for
that, using a second thread to read from the pipe.
- Anders
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 18 13:48:51 2006