7.2 Input/Output system extensions

7.2.2 Fast I/O system

The following macros perform fast I/O for simple streams:

fast-read-char
fast-unread-char
fast-write-char
fast-write-string
fast-read-byte
fast-write-byte

These macros expand into in-line code without any function calls, and for I/O operations involving simple streams, they are faster than their functional counterparts. If the input or output stream is a composite stream, the performance of these macros is equivalent to the performance of the related Common Lisp functions (read-char,unread-char, write-char,write-string, read-byte,write-byte). A composite stream is a stream that is built up from layers of simple streams.


The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker