Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Experimental features: autoderef vs postfix deref

by shmem (Chancellor)
on Jul 13, 2015 at 20:41 UTC ( [id://1134590]=note: print w/replies, xml ) Need Help??


in reply to Re: Experimental features: autoderef vs postfix deref
in thread Experimental features: autoderef vs postfix deref

Did you run the benchmark several times? Such small differences are suspicious. It might be more enlightening to use a perl binary with -DDEBUGGING and dump the parse tree. For well implemented variations of syntactic sugar of the same thing I'd expect the the compiler to produce the same tree.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^3: Experimental features: autoderef vs postfix deref
by stevieb (Canon) on Jul 13, 2015 at 20:54 UTC
    I did run numerous times and the results were pretty consistent. I'll definitely do as you suggested to get a better idea, and will post back here with results.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-19 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found