The @DB::args array is populated by copying the pointers from the actual @_ array, so the cost is a pretty negligible fraction of a caller() invocation - grep for the reference to PL_dbargs in pp_ctl.c to find the 20-odd line block of code involved (within pp_caller()).
I should stress that this is not intended for everyday use, and would suspect that overly imaginative use of this facility is likely to lead you to coredumps and JAPHs.
HugoIn reply to Re: package DB penalty?
by hv
in thread package DB penalty?
by Rhandom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |