Changeset 4255


Ignore:
Timestamp:
Jan 13, 2010, 12:54:15 AM (8 years ago)
Author:
Sam Hocevar
Message:

Improve the default zzcat sequence to improve performance.

Location:
zzuf/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/doc/zzcat.1.in

    r4254 r4255  
    5252If no sequence is specified, the following default sequence is used:
    5353
    54 \fB    repeat(\-1, fgetc(), feof(1))
     54\fB    repeat(\-1, fread(1,32768), feof(1))
    5555.TP
    5656\fB\-l\fR, \fB\-\-list\fR
  • zzuf/trunk/src/zzcat.c

    r4254 r4255  
    7474int main(int argc, char *argv[])
    7575{
    76     char const *sequence = "repeat(-1, fgetc(), feof(1))";
     76    char const *sequence = "repeat(-1, fread(1,32768), feof(1))";
    7777    int i;
    7878
Note: See TracChangeset for help on using the changeset viewer.