Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^3: Benchmark, -s versus schwartzian (vs hash)

by Aristotle (Chancellor)
on Aug 23, 2004 at 10:57 UTC ( #385047=note: print w/replies, xml ) Need Help??

in reply to Re^2: Benchmark, -s versus schwartzian (vs hash)
in thread Benchmark, -s versus schwartzian

B::Deparse has the option -x$LEVEL, which at level 7 reveals the internal representation of the code quite closely. Then there's the various other modules like B::Terse which will show you exactly what opcodes you get. That should be enough to examine whether any particular construct gets optimized; of course it won't provide a full overview of all the possible optimizations.

Makeshifts last the longest.

  • Comment on Re^3: Benchmark, -s versus schwartzian (vs hash)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://385047]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-06-25 03:30 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.