Improve the default zzcat sequence to improve performance.

This commit is contained in:
Sam Hocevar 2010-01-12 23:54:15 +00:00 committed by sam
parent 66da2fdd51
commit 4a860d6be8
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ Read a file or a stream using the instruction sequence specified in
If no sequence is specified, the following default sequence is used:
\fB repeat(\-1, fgetc(), feof(1))
\fB repeat(\-1, fread(1,32768), feof(1))
.TP
\fB\-l\fR, \fB\-\-list\fR
Display the list of supported keywords and functions and exit.

View File

@ -73,7 +73,7 @@ static int number_nonblank = 0;
int main(int argc, char *argv[])
{
char const *sequence = "repeat(-1, fgetc(), feof(1))";
char const *sequence = "repeat(-1, fread(1,32768), feof(1))";
int i;
for (;;)