This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ZipInputStream brokenness


On Mon, 2 Sep 2002, Per Bothner wrote:
> Besides, I don't see any reason that you'd ever want to *not* buffer,
> at least when using a FileInputStream,.

Perhaps in bulk data copies?  I'd guess a raw InputStream should
perform slightly better than any buffered stream for large enough reads.

(Of course zero buffering is best, as in Linux's sendfile system call.)

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]