List Info

Thread: PEAR_Callback proposal




PEAR_Callback proposal
user name
2007-01-05 15:35:22
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.

Regards,
Matthias

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

PEAR_Callback proposal
user name
2007-01-05 16:06:13
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

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )