From: Jim C. <jim...@gm...> - 2007-09-10 22:06:16
|
Mike Schilli wrote: > > While you're at it, here's my pipe dream: I want something like Dtrace, > where the logging framework zeroes out the opcodes that are currently > inactive, and the interpreter rushes through them at light speed with > practically no overhead. > > -- Mike > This sounds like what I did with Log4perl::AutoCategorize, ( which is unsupportable - due to breakage of B::Generate ) FWIW, it hacked the optree to cause an AUTOLOAD fn to instantiate a different sub for every call-point. that new sub could be customized for to the way the config applied to that call-point, thus inlining all the config decisions. Assuming B::Generate comes back to life (there is hope yet), it will be practical to truly no-op the call. |