in reply to Re^3: I know two prints are slower than one, but 200x slower?!?!? (==)
in thread I know two prints are slower than one, but 200x slower?!?!?

Indeed, overload says:

overload::StrVal(arg)
Gives string value of arg as in absence of stringify overloading. If you are using this to get the address of a reference (useful for checking if two references point to the same thing) then you may be better off using Scalar::Util::refaddr(), which is faster.

- tye        

  • Comment on Re^4: I know two prints are slower than one, but 200x slower?!?!? (refaddr)