Improve the OOP ABI
Bruce Carneal
bcarneal at gmail.com
Mon Jan 22 21:11:18 UTC 2024
On Monday, 22 January 2024 at 20:46:26 UTC, Walter Bright wrote:
> On 1/22/2024 2:08 AM, Andrea Fontana wrote:
>> Why md5 and not a faster method?
>
> Md5 has an extremely remote chance of two class names hashing
> to the same value. Some people have argued this is
> unacceptable, though I opine that the odds are so low they are
> unimaginable to humans.
>
> A replacement that has a perceptible collision rate will be
> unacceptable.
>
> This is not a hash backed up by a string compare. The hash has
> to be a substitute for the string compare.
Blake3 might be worth a look. It's reportedly faster and
stronger than md5.
https://github.com/BLAKE3-team/BLAKE3
More information about the Digitalmars-d
mailing list