From: Bodo Moeller <[EMAIL PROTECTED]>
Subject: Re: cvs commit: openssl/crypto/bio b_print.c
Date: Wed, 6 Sep 2000 12:32:55 +0200
Message-ID: <[EMAIL PROTECTED]>

moeller> On Tue, Sep 05, 2000 at 05:52:20PM +0200, Richard Levitte - VMS Whacker wrote:
moeller> 
moeller> > Personally, I find USE_ALLOCATING_PRINT preferable, and would like
moeller> > that to be the default.  Comments?
moeller> 
moeller> That should be OK, although I think that it should be changed to use
moeller> the stack if the space requirement is small.  (Appliations that print
moeller> many small strings often will have quite a lot of overhead otherwise,
moeller> especially in multi-threaded settings with memory debugging enabled.)

Let me verify that I got this right: you would like it to use an
initial buffer (an array on the stack), and start using the heap only
if the output is too large for the initial buffer.  That shold be
doable.

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to