Increase default I/O buffer to improve performance

This commit is contained in:
bnnm 2017-01-15 20:48:00 +01:00
parent cba1d28ae2
commit 30ec4d7c41
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
#define fseeko fseek
#endif
#define STREAMFILE_DEFAULT_BUFFER_SIZE 0x400
#define STREAMFILE_DEFAULT_BUFFER_SIZE 0x8000
#ifndef DIR_SEPARATOR
#if defined (_WIN32) || defined (WIN32)

View File

@ -18,7 +18,7 @@
#define VERSION ""
#endif
#define BUFSIZE 4000
#define BUFSIZE 0x8000
extern char * optarg;
extern int optind, opterr, optopt;