posted 18 years ago
It obviously does not mean the computation of the hashcode because in this example the first computation needs more effort than the second.
What it means is - if you use objects with these hashfunctions in a searchable (hash based) collection, then it will take longer in the second case to find the object within the collection because all the objects would be in the same hash bucket. (Unless the names are all of the same length, of course).
[ January 30, 2007: Message edited by: Barry Gaunt ]