Last modified: 2012-12-26 02:31:24 UTC
If you pass a number to murmur3() from lib/murmur3.js it returns 0 (with default seed=0); if you pass it null/undefined it throws TypeError. I'm not sure what the E3 Extension's strategy is for handling errors; caller must validate, return a well-defined error, never fail, throw error, etc. In this case if we want murmur3 to always return a number it could call .toString() on numbers before hashing and hash the string "null" or "undefined" for those values. I'll document the current requirement; let's discuss.
We removed murmur3 from the extension, so I'm closing this.