Improve the default zzcat sequence to improve performance.
This commit is contained in:
parent
66da2fdd51
commit
4a860d6be8
@ -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.
|
||||
|
||||
@ -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 (;;)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user