develooper Front page | perl.perl6.internals | Postings from July 2002

Re: RFC - Hashing PMC's <albie@alfarrabio.di.uminho.pt>

From:
Alberto Manuel Brandão Simões
Date:
July 22, 2002 09:55
Subject:
Re: RFC - Hashing PMC's <albie@alfarrabio.di.uminho.pt>
Message ID:
1027356778.20020.56.camel@scriptorium
Dan, can we create this new vtable method? returning an integer (long
integer)... with name hashValue, or asHash.. or something else.

Alberto

On Mon, 2002-07-22 at 17:07, Leon Brocard wrote:
> Alberto Manuel Brandão Simões sent the following bits through the ether:
> 
> > This means one more function to the vtable!
> 
> FWIW every object in Java must implement a hashCode method:
> http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()
> 
> Leon
> -- 
> Leon Brocard.............................http://www.astray.com/
> scribot.................................http://www.scribot.com/
> 
> .... If I were you, who'd be me?
-- 
Alberto Manuel B. Simoes
Departamento de Informática - Universidade do Minho
http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About