News for hackers. Stuff that matters.
Re:The Universal Data Structure by sorokod on Tuesday June 30, 2015 @06:08PM (#9808745)
> computing the hash of a string key is typically an O(n) operation.

When strings are immutable, the hash values can be cached so the computation is amortized (this is how it works in Java)

There are no comments on this comment yet.