Ivan Pizhenko
Ivan Pizhenko
Hmm, and is there a way for non-comitee member, i.e. for just anyone, to submit such a remark to N3876? Because it is really 32-bit based. The paper on which...
The constant itself should be coming from TEA algorithm, if we admit to process of its derivation, as described here https://softwareengineering.stackexchange.com/a/63599/188077 we must come up with different constant for different...
Thank you, Howard, I have looked at the paper, and "proposed wording" looks quite generic and does not suggest any particular implementation, so there's actually no impact on the standard,...
Since 64 bit is 2x of 32 bit, you can try increasing shifts 2x. i.e. ```seed > 4```
To make it even more portable, maybe following can be done: ```c++ #include template inline void hash_combine (std::uint16_t& seed, const T& val) { seed ^= std::hash{}(val) + 0x9e37U + (seed1);...
@NikolausDemmel `size_t` is unsigned type [by definition](https://en.cppreference.com/w/cpp/types/size_t). So chances that it will not fit either into `uint16_t`, `uint32_t` or `uint64_t` are very low. Your solution with `if constexpr` obviously works,...
@JVApen This is not a bug, just a suggestion. If you find it useful, you can take `n3876.h` from here and patch it yourself using code examples discussed above. Also,...
Despite @HowardHinnant doesn't recommend it, personally I still find `n3876.h` quite useful in the cases when it's desired to avoid Boost, of course until something better comes up within some...
There's already a package in npm ([look here](https://www.npmjs.com/package/blob)) called "blob" on the npm. So need another name. Could be "blobjs", "eligrey-blob", "eligrey-blobjs" or something like this.
+1 for this.