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

Re: Preparing a new draft...



"Michael Young" <mwy-opgp97@xxxxxxxxxxxxxx> writes:

> Derek Atkins asked:
> > Have you looked into why it is faster?
> 
> A partial-body encoding requires a power-of-two sized buffer be
> repeatedly filled (completely, or until end-of-input), and then copied
> to the output stream.  An indeterminate encoding has no length
> information whatsoever, and so requires no buffering or copying.

In conjunction with compression, the claim that this affects
performance is a bit peculiar because compression itself typically
requires such buffering, and adds much more overhead anyway.

-- 
Florian Weimer 	                  Florian.Weimer@xxxxxxxxxxxxxxxxxxxx
University of Stuttgart           http://cert.uni-stuttgart.de/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898