Skip to content

Murmurhash doesn't equal known murmurhashes. #10

@guloic

Description

@guloic

Environment

System: Windows 10, 64 bit.
Nodejs Version: 12.13.0

Steps to Reproduce

Then run the following code -

var murmurhash = require('./murmurhash');

murmurhash.v3('foo');
// prints 4138058784

murmurhash.v2('foo');
// prints 2414502773

Expected

One of those outputs needs to be equal to -156908512 which is the known murmurhash for foo

Note
I observed this behaviour with Gary's original work too. Please refer to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions