Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 ( #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
Node Status?
node history
Node Type: note [id://314679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2015-07-30 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls