Inconsistent hashing schemes for various typeinfos

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Mar 15 16:07:26 PDT 2012


What's the reason that getHash is implemented in incompatible ways
between TypeInfo_Array and the various hard-coded array types (e.g.,
TypeInfo_Aa.getHash)? Shouldn't hashOf() be used universally?


T

-- 
If you look at a thing nine hundred and ninety-nine times, you are perfectly safe; if you look at it the thousandth time, you are in frightful danger of seeing it for the first time. -- G. K. Chesterton


More information about the Digitalmars-d mailing list