increase buffer size to significantly increase performance...

see:
https://docs.freebsd.org/cgi/mid.cgi?20150513080342.GE37063@funkthat.com

for benchmarks...
This commit is contained in:
John-Mark Gurney 2015-07-09 16:13:05 +00:00
parent 2491302a04
commit 7b7254e71f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285324

View File

@ -49,7 +49,7 @@ MDXFile(const char *filename, char *buf)
char *
MDXFileChunk(const char *filename, char *buf, off_t ofs, off_t len)
{
unsigned char buffer[BUFSIZ];
unsigned char buffer[16*1024];
MDX_CTX ctx;
struct stat stbuf;
int f, i, e;