in reply to Re^8: How to identify the package of a subroutine given only a reference to it
in thread How to identify the package of a subroutine given only a reference to it

My machine is running Ubuntu 18.04, but I would expect the OS to make little difference to such figures: the build options for perl would be far more important. For my 5.34 the relevant ones are -Dcc=gcc-9 -Doptimize="-g -O6" -Duse64bitall. In particular it would not surprise me if a -DDEBUGGING build slowed down operations on blessed coderefs relative to unblessed ones.

Replies are listed 'Best First'.
Re^10: How to identify the package of a subroutine given only a reference to it
by drclaw (Acolyte) on Feb 20, 2022 at 00:15 UTC
    Interesting. The macports perl 5.34 install I'm using has optimize='-O3'. On my Debian virtual machine with perlbrew perl 5.34 I have optimise='-O2'. I'll dig a little deeper/learn about more when I get a chance.