Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Bug or WAD in lvalue substr? (again.)

by BrowserUk (Patriarch)
on May 27, 2008 at 13:05 UTC ( [id://688660]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [14:28:20.34] c:\test>\Perl510\bin\perl5.10.0.exe 688308.pl -loops=1e2
                  Rate     reverse substr_copy       subst substr_lval  su
    +bstr_mod
    ...
    subst        168/s       2767%        536%          --         -3%    
    +    -46%
    substr_lval  173/s       2862%        558%          3%          --    
    +    -44%
    substr_mod   309/s       5191%       1075%         85%         79%    
    +      --
    
  2. or download this
    >\Perl510\bin\perl5.10.0.exe -MDevel::Peek -wle"
        $x = 'fred'; Dump( $x ); 
    ...
      PV = 0x18305ed ( "f" . ) "red"\0
      CUR = 3
      LEN = 7
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://688660]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-19 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found