RE: [PEAR-DEV] PEAR_Callback proposal
| From: | Lukas Feiler | Date: | Fri, 05 Jan 2007 16:06:13 +0000 |
| Subject: | RE: [PEAR-DEV] PEAR_Callback proposal | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45437@lists.php.net to get a copy of this message | ||
Hi,
Matthias Nothhaft wrote:
>
> Lukas Feiler wrote:
> > Hi,
> >
> > A couple of days ago I proposed the package PEAR_Callback;
> > see http://pear.php.net/pepr/pepr-proposal-show.php?id=468
> >
>
> Hi Lukas,
>
> in most cases your class is too much overhead just to execute a
> callback. There are projects with need for speed. ;-)
>
> But I could imagine that some people find it useful with special
> requirements.
Indeed, the code was written for a quite specific project of mine.
How about slimming down the whole thing by getting rid of all
the type checks and signature verification logic.
The core thing I'd like to see in PEAR (and could really
use for XML_Query2XML) is a Callback class that allows
me to define "static" arguments at the time the callback
instance is created.
Would that reduce the overhead to an acceptable level?
>
> Regards,
> Matthias
>
Cheers,
Lukas