On Thu, 1 Feb 2007, Alexander Todorov wrote:

> Hello,
> an old e-mail on the Lazarus mailing lists says:
> 
> topic: [lazarus] c faster than pascal? was: Compiling GlScene ...
> 
> On 6/12/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> [ skip ]
> 
> > By default FPC uses a 256 byte buffer for text IO; The C library uses a
> > 4K buffer. Obviously, C's input/output will be faster by a large factor.
> 
> [ skip ]
> 
> Does FPC use such buffer when doing Sockets.Send/Sockets.Recv ?

It depends on whether you use the Text file or if you use a simple socket
descriptor. In the case of the Text file: yes it does. If you use a simple
socket descriptor: no buffer is used.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to