On Fri, Mar 23, 2012 at 07:01:46PM +0100, Timon Gehr wrote: > Why do you not just do the conversion and then compute the hash, even > if the representation is the same?
Because Andrei says that the .idup shouldn't be performed unless it's necessary (e.g., you should be able to lookup char[] in a string-keyed AA without incurring the overhead of an .idup each time). The conversion is not needed if the hash computation doesn't change and we don't need to create a new entry. T -- Lawyer: (n.) An innocence-vending machine, the effectiveness of which depends on how much money is inserted.
