From dev-return-4602-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Mon Oct 01 23:03:07 2001 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 84819 invoked by uid 500); 1 Oct 2001 23:03:06 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 84801 invoked from network); 1 Oct 2001 23:03:06 -0000 X-Authentication-Warning: kurgan.lyra.org: gstein set sender to gstein@lyra.org using -f Date: Mon, 1 Oct 2001 16:07:13 -0700 From: Greg Stein To: Jon Travis Cc: dev@apr.apache.org Subject: Re: apr_vformatter changes & optimizations Message-ID: <20011001160713.N24906@lyra.org> Mail-Followup-To: Jon Travis , dev@apr.apache.org References: <20011001134355.A11996@covalent.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20011001134355.A11996@covalent.net>; from jtravis@covalent.net on Mon, Oct 01, 2001 at 01:43:55PM -0700 X-URL: http://www.lyra.org/greg/ X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, Oct 01, 2001 at 01:43:55PM -0700, Jon Travis wrote: > I was thinking today that it would be nice to be able to pre-parse > *rintf style format strings into an intermediate array. This would > have the potential to speed up code which uses *rintf by quite a bit. Potential vs. demonstrated? Can you show that we're spendig significant time parsing the format strings? Going and throwing a bunch of complexity for a small speedup might not be worthwhile :-) Personally, I'm guessing that more time is spent assembling than parsing. Cheers, -g -- Greg Stein, http://www.lyra.org/