apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: Request for inclusion in 1.2.13/.14 or 1.3.0: Win32 file copy efficiency
Date Thu, 24 Apr 2008 03:08:07 GMT
On Wed, 2008-04-23 at 21:29 +0200, Erik Huelsmann wrote:

> Performance would benefit greatly from using APR_FILE_BUFSIZE, which
> is defined as 4096 bytes.

I'm not sure if someone is planning to address this for Windows, but
BUFSIZ on glibc systems is 8k and Unix systems seem to have it set to
1k.

Maybe we should have a private #define that takes max of
APR_FILE_DEFAULT_BUFSIZE and BUFSIZ and then uses that instead of just
BUFSIZ?

-- 
Bojan


Mime
View raw message