classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.io Buffer Sizes


From: Dalibor Topic
Subject: Re: java.io Buffer Sizes
Date: Mon, 7 Apr 2003 14:06:37 -0700 (PDT)

--- "Aaron M. Renn" <address@hidden> wrote:
> Is there a specified default size for the buffers
> used in java.io?  We
> seem to have a divergence of opinion and it seems to
> have changed over
> time based on the documentation.:
> 
> BufferedInputStream - Buffer size of 2048

2K according to Java Class Libraries, Second Edition,
Vol. 1.

> BufferedOutputStream - Buffer size of 512

512 according to JCL2edV1.

> BufferedReader - Buffer size of 8192 (in one place
> doc said 512, another 4096)

8K according to JCL2edV1.

> BufferedWriter - Buffer size of 8192 (in one place
> doc said 512)

8K according to JCL2edV1 book.

The numbers look fine to me. It's the docs that should
be fixed.

cheers,
dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]