LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
BackTrack 4 Final
9,178
TeamSpeak 2
2.0.32.60

3,920
Wine 1.0.1 / 1.1.38
3,273
VLC 1.0.5
3,185
Charles Web
Debugging Proxy
3.5.1

2,387
Yahoo Messenger
1.0.4

2,346
Adobe Flash Player
for Linux 10.0.42.34
/ 10.1 Beta

1,778
Ubuntu 9.10
1,698
Thunderbird PST
Import plugin 1.2

1,644
Corel Photo-Paint 9
1,492

WEEK'S BEST

  • Ubuntu 9.10
  • Ubuntu Netbook Rem...
  • Pidgin 2.6.5
  • Wine 1.0.1 / 1.1.38
  • Linux Kernel 2.6.3...
  • Mozilla Firefox 3.6
  • Fedora 12
  • OpenOffice.org 3.2.0
  • Firestarter 1.0.3
  • The Gimp 2.6.8 / 2...
  • FileZilla 3.3.1
  • Transmission 1.83
  • Super Grub Disk 0....
  • Gufw 9.10.4
  • Skype 2.0.072 / 2....
  • openSUSE Linux 11....
  • Opera 10.50 Build ...
  • Adobe Flash Player...
  • wine-doors 0.1.3
  • Google Gadgets 0.1...
  • Home / Linux / Programming / Libraries

    MurmurHash2 1.336

    Download button

    No screenshots available
    Downloads: 199  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Austin Appleby | More programs
    Public Domain / FREE
    November 24th, 2009, 17:09 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    MurmurHash2 description

    mmhash module

    MurmurHash2 is a Python module.

    Developer comments

    The name, if you're wondering, comes from the simplest sequence of operations which will thoroughly mix the bits of a value - "x *= m; x = rotate_left(x,r);" - multiply and rotate. Repeat that about 15 times using 'good' values of m and r, and x will end up pseudo-randomized. Unfortunately multiply+rotate has a few major weaknesses when used in a hash function, so I used multiply+shift+xor. I liked the name Murmur better than Musxmusx, so I kept it.

    Extremely simple
    - compiles down to ~52 instructions on x86.

    Excellent distribution - Passes chi-squared tests for practically all keysets & bucket sizes.

    Excellent avalanche behavior - Maximum bias is under 0.5%.

    Excellent collision resistance - Passes Bob Jenkin's frog.c torture-test. No collisions possible for 4-byte keys, no small (1- to 7-bit) differentials.

    Excellent performance - measured on an Intel Core 2 Duo @ 2.4 ghz

     OneAtATime - 354.163715 mb/sec
     FNV - 443.668038 mb/sec
     SuperFastHash - 985.335173 mb/sec
     lookup3 - 988.080652 mb/sec
     MurmurHash 1.0 - 1363.293480 mb/sec
     MurmurHash 2.0 - 2056.885653 mb/sec


    Note: hash value for 32 and 64 isn't same , need fix , ...

    import mmhash print mmhash.get_hash(str(range(1000))) -1624558063 print mmhash.get_unsigned_hash(str(range(1000))) 2670409233

    Requirements:

    · Python

      


    TAGS:

    mmhash module | Python library | Python | mmhash | library



    HTML code for linking to this page:


    Go to top

    Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM