Clairvoyant interview question

Performance of hashmap if hascode() returns same value every time