12 ms·
Yes that's exactly right. Taking the length of a string could be considered a hash function, it's just a very poor one.
by joshlemer 6y ago
Yes that's exactly right. Taking the length of a string could be considered a hash function, it's just a very poor one.