in reply to Re^3: Experimental features: autoderef vs postfix deref
in thread Experimental features: autoderef vs postfix deref
Would it be that even though the feature isn't use'd, it's still intertwined enough to have effects?
It's that I suggested it would be good to measure.
Many perl features exact a cost even for code that doesn't use them. Eg.
Individually, none of them are hugely detrimental, but combine them all together and the affects on every opcode that has to go through is-it-unicode, is-it-tied, is-it-lvalue, is-it-shared, is-it-someother-magic, add up.
Whether this has any such consequences was the question. shmem may be right that this is purely a syntactic sugar thing; recognised entirely at compile time; that compiles to identical code to the normal deref; and thus has no runtime consequences at all.
But your numbers above seem to indicate there may be more to it than that.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Experimental features: autoderef vs postfix deref
by stevieb (Canon) on Jul 13, 2015 at 21:53 UTC | |
| |
Re^5: Experimental features: autoderef vs postfix deref
by stevieb (Canon) on Jul 13, 2015 at 22:12 UTC |