Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Performance problems on splitting long strings

by Laurent_R (Canon)
on Jan 31, 2014 at 18:33 UTC ( [id://1072892]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
            C_Style => sub { $c_style_string->()}
        }
    )
    
  2. or download this
               Rate C_Style  regex1  regex2      FH   split substr1 substr
    +2  unpack
    C_Style  5598/s      --    -72%    -72%    -78%    -79%    -80%    -80
    +%    -83%
    ...
    substr1 27355/s    389%     39%     37%      5%      1%      --     -4
    +%    -16%
    substr2 28523/s    409%     45%     43%     10%      5%      4%      -
    +-    -12%
    unpack  32428/s    479%     65%     62%     25%     19%     19%     14
    +%      --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-25 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found