Closed bnoordhuis closed 8 years ago
Hrm, this is mildly annoying. io.js v3.x needs gcc 4.8 for its C++11 support but adding that to the .travis.yml somehow makes istanbul disappear from the PATH...
Reimplemented the hash in pure JS and the CI is all green now. Seems to be slightly faster too, at least on my system.
@bnoordhuis Thanks for the pull request, but I have no idea why tests are passing as I'm pretty sure that hashing required 64 bit bit shifting in order to correctly generate a stable hashring. And that was the reason I moved to a binary addon in the first place.
The C++ code uses (unsigned) int and that's 32 bits on all platforms node runs on.
That is an excelent point lol.
This is needed for compatibility with the latest io.js release(s).
@3rd-Eden Can you do a release for this? Thanks.