Re: [PHP-DEV] *crash* on try to find out how many nesting levelsareallowed From: waldschrott (waldschrott <email protected>)
Date: 07/09/00

> But seriously, HOW MUCH would it slow down? Are we talking 5% or 50%?
> Considering the speed increase php4 has over php3, I wouldn't mind
> loosing 5% to provide additional stability. If it were significantly
> higher, then rather than saying something like 'dont do it and it wont
> crash', provide the explanation that protecting against such a crash
> would slow down php so much that it isn't worth it, so you just have to
> pay attention to your scripting.

I agree with Andi that there should be _no_ performance decrease (if not
smaller than 0,01%) implementing a protection function for infinite
recursion. That´s a very rare effect.

regards

-- 
o----------0-¬---------O-·---¬----o---®-----o o    O   °       .
| http://www.kiffen.de | pRoteçt y0ur bRaín |0  O °     ¤  °        ·
0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © °   .  ·
| psychedelic experience |  gott <email protected>  | O   ° o           °
o-¬--o--0-----©-·--O-----o-----0-¤----------o  0 °  · °  .  ¤ ·

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>