Hash table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swarnashan
    New Member
    • Jul 2012
    • 1

    Hash table

    HI all,
    I have a doubt in the PJW algorithm of the Hash Table.
    what is the logic in shifting the bytes by this specified number as specified in the pjw algorithm.
    Regards
    Swarna
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    It's just a way to convert string into an unsigned int so you can access the data quickly. Most hash algorithms are arbitrary.

    Of course, how you manage the has values has a great impact on access times.

    Comment

    Working...