On Tue, 7 Feb 2006, ReedSheridan wrote:

[...] Is there a way to read a port which, at a low level, will call FCGX_GetStr(str,some_large_number,streamp) ? [...]

Hello,

as far as I know, nearly all the CHICKEN input boils down to repeated calls to read-char. But you may get quite a performance boost if you let your custom input ports do some buffering. An example how to do that can be seen in the source of CHICKEN's tcp unit.

The output on the other hand happens in somewhat larger units by default in CHICKEN.

cu,
Thomas


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to