3 ms·
I was quite surprised to read that you can't set a custom hasher in C++/Rust, and I even went and made sure that it's possible. But then I re-read your comment
by gilnaa 6y ago
I was quite surprised to read that you can't set a custom hasher in C++/Rust, and I even went and made sure that it's possible.
But then I re-read your comment and realized you've meant that you can't do this in JS.
- temporarysdwvit 6y agoOh you can, just implement toString and js will use it for hashing