Re: Class methods for custom functions

From: Date: Mon, 03 Dec 2001 21:24:51 +0000
Subject: Re: Class methods for custom functions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2106@lists.php.net to get a copy of this message
I don't like the idea of slowing anything down... Is there a way to get around that? Andrei Zmievski wrote: > > I've been looking into allowing the usage of class methods for custom > functions, modifiers, etc. The issue is that we'd have to use > call_user_func() to call both normal functions and methods, to make it > work generically, which results in about 1.5x slowdown. Is this > acceptable or not? > > -Andrei > * 2 + 2 = 5 for extremely large values of 2. * > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#2106) next »