Changeset 10689


Ignore:
Timestamp:
May 25, 2010, 8:19:34 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #3231 "Check existing data is extremely slow" -- increase the read buffer size as suggested by eridius

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r10541 r10689  
    6161    const time_t begin = tr_time( );
    6262    time_t end;
    63     const int64_t buflen = 16384;
     63    //const int64_t buflen = 1024 * 128; /* 128 KiB buffer */
     64    const int64_t buflen = 1024 * 1024;
    6465    uint8_t * buffer = tr_valloc( buflen );
    6566
Note: See TracChangeset for help on using the changeset viewer.