[fpc-pascal] Sockets IO speed

Alexander Todorov alexx.todorov at gmail.com
Thu Feb 1 10:30:35 CET 2007


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 <michael at freepascal.org> 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 ?
Where do I have to look if I want to optimize speed?


Thanks.
Alexander



More information about the fpc-pascal mailing list