turn off lazyIO on disk files

Wolfgang Helbig helbig at lehre.ba-stuttgart.de
Tue May 6 13:13:38 CEST 2008


the program, Don Knuth's TeX adapted to GPC version 2.1, does heavy
I/O on text files. I noticed a very high percentage of system time.
I believe this is due to lazy I/O, which seems to be unbuffered.

GPC should apply lazy/IO  when the text file comes from the keyboard,
but to use buffered I/O when it comes from the disk.

Is there a way to turn off lazy/IO on nonterminal text files?


Wolfgang Helbig

More information about the Gpc mailing list