The preliminary results seem to indicate that a lot of the additional overhead is coming from the subroutine call when using autobox vs when using the CORE:: routines directly.
Actually, I would suspect that autobox's overhead is more likely coming from a combination of calling something as a method (which tends to be slower then subs, and certainly much slower than builtins) and the overhead of having to search the {SCALAR,ARRAY,HASH}:: namespace(s) for an applicable method.
Certainly the additional call levels are playing a part, but in more real-world usage of autobox (which wasn't just simple uses of CORE:: subs) I would suspect it would be much less relevant.
In reply to Re: Using CORE:: with autobox
by stvn
in thread Using CORE:: with autobox
by bennymack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |