Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 romping around the Monastery: (7)
As of 2014-10-02 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (56 votes), past polls