ietf-openpgp
[Top] [All Lists]

Re: Preparing a new draft...

2001-08-24 06:45:41

"Michael Young" <mwy-opgp97(_at_)the-youngs(_dot_)org> 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(_dot_)Weimer(_at_)RUS(_dot_)Uni-Stuttgart(_dot_)DE
University of Stuttgart           http://cert.uni-stuttgart.de/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898

<Prev in Thread] Current Thread [Next in Thread>