commit | df3f27024f193b7baeedcd9f3799b4774dd20bbf | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sun Mar 30 16:27:08 2014 -0700 |
committer | Jason Evans <jasone@canonware.com> | Sun Mar 30 16:27:08 2014 -0700 |
tree | 06db4fe0ab2fba5c80697c691ee0f72630f4cdfa | |
parent | ada8447cf6fb2c1f976b6311dade2e91026b3d83 [diff] |
Adapt hash tests to big-endian systems. The hash code, which has MurmurHash3 at its core, generates different output depending on system endianness, so adapt the expected output on big-endian systems. MurmurHash3 code also makes the assumption that unaligned access is okay (not true on all systems), but jemalloc only hashes data structures that have sufficient alignment to dodge this limitation.