[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dev-serveez] icecast; yet another guile question

From: Martin Grabmueller
Subject: Re: [dev-serveez] icecast; yet another guile question
Date: Mon, 27 May 2002 11:01:12 +0200 (MEST)

> From: stefan <address@hidden>
> Date: Fri, 24 May 2002 14:58:19 +0200 (CEST)
> My question now:  Is guile file i/o meant to be slow; or did I just use
> the wrong procedures?

Of course Guile is not slow on purpose...  The problem is that you
read data byte-wise, which is slow for whatever language you take...

In newer Guiles, the procedure `read-string!/partial' can be used to
read data `en bloc' from a port.  It tries to read as much data as
told, but may return earlier in case not enough data is available.
See documentation at:

If you don't want to depend on newer Guiles, you can maybe take some
inspiration or code from the C implementation of


reply via email to

[Prev in Thread] Current Thread [Next in Thread]