Re: propose renaming gnulib memxfrm to amemxfrm (naming collision with coreutils)

2010-08-06 Thread Paul Eggert
On 08/06/10 01:22, Paolo Bonzini wrote: > ISAAC is a RNG, so wouldn't that have the same problem above? You > definitely need to use a hash function, it's just that you do not need a > cryptographic one. I had been thinking of using ISAAC by making the key its seed, and asking it to generate some

Re: propose renaming gnulib memxfrm to amemxfrm (naming collision with coreutils)

2010-08-06 Thread Paolo Bonzini
On 08/06/2010 01:29 AM, Paul Eggert wrote: 1) why bother with memxfrm as a tie-breaker? isn't memcmp good enough? If two keys K1 and K2 compare equal, their random hashes are supposed to compare equal too. So if memcoll(K1,K2)==0, the random hashes must be the same. Hence we can't just do a