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

Actually, the whole v: thing is the hints, not just the fea= portion. And we see another difference: The %. Not sure what it means, but it relates to %^H. Presumably the presence of %^H. Again, present for b but not c.

Replies are listed 'Best First'.
Re^5: A plague on all your features
by ikegami (Patriarch) on Mar 07, 2023 at 01:17 UTC

    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?