Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Switching on internal UTF-8 flaq on DBI result from database

by liz (Monsignor)
on Dec 14, 2003 at 20:46 UTC ( [id://314679]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Benchmark qw(:hireswallclock timethese);
    timethese( 1000000,{
    ...
    Benchmark: timing 1000000 iterations of one, two...
     one: 2.43888 wallclock secs ( 1.70 usr +  0.00 sys =  1.70 CPU) @ 588
    +235.29/s (n=1000000)
     two: 5.11982 wallclock secs ( 2.77 usr +  0.00 sys =  2.77 CPU) @ 361
    +010.83/s (n=1000000)
    
  2. or download this
    use Encode qw(_utf8_on);
    $a = [['']];
    ...
    __END__
    1
    
  3. or download this
    use Encode qw(_utf8_on);
    use Benchmark qw(:hireswallclock timethese);
    ...
    Benchmark: timing 10000 iterations of Aristotle, liz...
     Aristotle: 4.37344 wallclock secs ( 3.73 usr + 0.00 sys = 3.73 CPU) @
    + 2680.97/s (n=10000)
     liz: 4.06957 wallclock secs ( 2.73 usr + 0.00 sys = 2.73 CPU) @ 3663.
    +00/s (n=10000)
    

Log In?
Username:
Password:

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

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

    No recent polls found