c++ - difference between hashing on x86 or x64 -


i want implement hashmap code, decided stick murmurhash3

i deliver programs compiled x86 , have tried keep code general i've never had trouble running programs on x64.

now i've looked @ header files of murmurhash , library offers following functions:

murmurhash3_x86_32 murmurhash3_x86_64 murmurhash3_x86_128  murmurhash3_x64_32 murmurhash3_x64_64  murmurhash3_x64_128  

does mean have use x64 functions , provide x64 executable able use hash library on x64 systems? or can use x86 version, , encounter poorer performance?

am correct in thinking _32 _64 _128 bit versions mean more bit versions offer better distribution?

edit: changed after looking @ murmurhash3 documentation.

first, _x86 variants portable hash algorithms. _32/_64/_128 indicates width of hash in bits. _32 should fine long hash algorithm smaller 232 buckets.

the _x64 variants entirely different family of hash algorithms. _x64 variants based on _x64_128 implementation - 128-bit hash. throw away part of hash _32 , _64 bit sizes. may or may not faster _x86 variant - documentation claims impressive speedups, though. note, however, it's different hash values x86 variant.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -