Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Unexpected utf8 in hash keys

by creamygoodness (Curate)
on Aug 27, 2009 at 11:12 UTC ( #791588=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    }
    
    warn scalar $timer->reports . "\n";
    
  2. or download this
    marvin@smokie:~/perltest $ perl hash_key_bench.pl 
    ===================================
    ...
    10 trials of UTF-8 hash key, Latin-1 probe (3.100s total), 309.985ms/t
    +rial
    10 trials of UTF-8 hash key, UTF-8 probe (1.893s total), 189.301ms/tri
    +al
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2015-07-29 23:48 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 (269 votes), past polls