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

Re: performance of length() in utf-8

by kennethk (Abbot)
on Mar 03, 2016 at 17:20 UTC ( [id://1156746]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
        package LenTestC;
    ...
            return length $$self;
        }
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
            return length $$self;
        }
    }
    
  3. or download this
    with length()
            1000 L=    256000 t=0.510051
    ...
           13000 L=   3328000 t=0.047136
           14000 L=   3584000 t=0.037603
           15000 L=   3840000 t=0.036865
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-24 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found