Bill Page wrote:
> Here it is:
> 
> Index: src/interp/hashcode.boot
> ===================================================================
> --- src/interp/hashcode.boot  (Revision 183)
> +++ src/interp/hashcode.boot  (Arbeitskopie)
> @@ -55,7 +55,7 @@
>                          hash := hashCombine(hashType(arg, percentHash), hash)
>                  retCode := hashType(retType, percentHash)
>                  EQL(retCode, $VoidHash) => hash
> -                hashCombine(retCode, hash)
> +                hashCombine(retCode, hashCombine(32236, hash))
>          op = 'Enumeration =>
>                  for arg in args repeat
>                          hash := hashCombine(hashString(STRING arg), hash)
> 
> Don't ask me what it does, however :-)
> 

What is does is clear -- this code computes a hash.  However,
the real question is different.  Namely, to cooperate Axiom
and Aldor need to compute this hash in the same way.  So the
question is which versions of Aldor use the formula above?
Did Axiom always use wrong formula or is this a change in
Aldor?

-- 
                              Waldek Hebisch
[EMAIL PROTECTED] 


_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to