Streams may be opened with either ANSI C streams (fopen) or with C file descriptors (open). The later is needed for sockets and certain devices, while the formers provide buffering and may be better in some systems. That's all. The difference is that ECL did not allow C file descriptors to be used before.<div>
<br></div><div>Juanjo<br><br><div class="gmail_quote">On Sat, Dec 12, 2009 at 11:22 PM, Robert Dodier <span dir="ltr"><<a href="mailto:robert.dodier@gmail.com">robert.dodier@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 12/10/09, William Stein <<a href="mailto:wstein@gmail.com">wstein@gmail.com</a>> wrote:<br>
<br>
> 2. The user reports that "maxima reads the file<br>
> local/lib/ecl-9.10.2/sysfun.lsp one character at a time doing 72K<br>
> read() calls of one<br>
> character each.  The sys admin doubts that is anywhere near the<br>
> problem of the NFS stat calls, but it does seem inefficient."<br>
<br>
OK, I've confirmed this w/ a recent version of ECL (9.12.2).<br>
It didn't happen with an older version (I don't remember which version).<br>
I am working on Linux with an ordinary file system (not NFS).<br>
<br>
Other calls to read have block size = 512 or 1024 or 8096.<br>
Dunno what's going on. Not really so much of a problem,<br>
but it is a curiosity.<br>
<br>
FWIW<br>
<br>
Robert Dodier<br>
<br>
------------------------------------------------------------------------------<br>
Return on Information:<br>
Google Enterprise Search pays you back<br>
Get the facts.<br>
<a href="http://p.sf.net/sfu/google-dev2dev" target="_blank">http://p.sf.net/sfu/google-dev2dev</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>

</div>