Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: non-scalar hash key

by kdejonghe (Novice)
on Jun 17, 2009 at 10:09 UTC ( #772318=note: print w/replies, xml ) Need Help??


in reply to Re^3: non-scalar hash key
in thread non-scalar hash key

I'm wondering why this is so difficult. If you take a string as the key to a hash, that string is actually an array of bytes, which is probably searched for by the C function strcmp. Now all I want is an array of which the elements are a tad larger (4 bytes iso 1 byte, because I need unsigned longs), and possibly another hash function (hashword in http://burtleburtle.net/bob/c/lookup3.c) and another comparison function similar to strcmp but working on integers.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2018-10-20 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (111 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!