I wonder how. Perl would either need to be informed in advance that the methods are immutable or monitor the complete inheritance chain for new methods.¹
But I haven't done any benchmarks yet ... IMHO there should be a notable performance gain.
> But mostly, why?
Well ask Gabor... I can only speculate that he wants to gather more detailed debug informations.
ATM I can say more about the how than the why.
Cheers Rolf
1) of course I would appreciate to learn more about a nifty mechanism to improve performance...
In reply to Re^4: Error handling in chained method calls
by LanX
in thread Error handling in chained method calls
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |