Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: A plague on all your features

by ikegami (Patriarch)
on Mar 07, 2023 at 01:17 UTC ( [id://11150815]=note: print w/replies, xml ) Need Help??


in reply to Re^4: A plague on all your features
in thread A plague on all your features

b has a %^H and c doesn't. The extra time spent is clearly spent accessing (copying?) this hash.


Why doesn't c have a %^H?

Some hints are found in $^H and some are in %^H.

I think what's happening is that use 5.010; avoids creating %^H just to set flags that are on by default (such as indirect).

use feature ":5:10";, on the other hand, clearly does create this hash.

There's a problem with this answer. say and a couple other flags which aren't set by default appear to be in %^H. Maybe they are found in both $^H and %^H?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11150815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-03-28 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found