Return-Path: Delivered-To: apmail-perl-asp-archive@perl.apache.org Received: (qmail 41077 invoked by uid 500); 13 Feb 2003 17:44:50 -0000 Mailing-List: contact asp-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list asp@perl.apache.org Received: (qmail 41000 invoked from network); 13 Feb 2003 17:44:48 -0000 Message-ID: <3E4BD992.6040202@chamas.com> Date: Thu, 13 Feb 2003 09:44:50 -0800 From: Josh Chamas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "ggincius " CC: asp@perl.apache.org Subject: Re: RFC: subroutines & script recompilation References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ggincius wrote: >>What about making this a default, and let the user configure if > > the > >>"old" method is preferred or the new one? > > > I need an option for "old" method too. > If you are talking about turning off the recompile behavior for scripts with subs in them, I do not intend to create a config for this as this is a matter of correctness and not tunable parameter. In effect, having the system not cache compilations for such scripts, will promote good behavior according to the style guide. Please note that Apache::ASP does not spend much time compiling scripts usually. ( I see usually .01 seconds for script compilation ). If you have a site with exceedingly long scripts that have named subroutines in them, then you might arguably need this config. If this is the case or another arguable scenario, then let's reconsider getting you a config for better performance. Generally I don't like to rarely used configs to the system as each config will incur a runtime performance penalty for all users regardless of whether they use it. Regards, Josh ________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checking http://www.nodeworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org For additional commands, e-mail: asp-help@perl.apache.org