Alberto writes:
Finally, we need to hash PMC's. While I don't know what hash function
we should use
Nor can you know, in the general case. Let PMCs hash themselves.
--
4.2BSD may not be a complete disaster, but it does a good job of emulating one.
On Mon, 2002-07-22 at 14:05, Simon Cozens wrote:
Alberto writes:
Finally, we need to hash PMC's. While I don't know what hash function
we should use
Nor can you know, in the general case. Let PMCs hash themselves.
This means one more function to the vtable!
The value returned by the
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
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
At 5:52 PM +0100 7/22/02, Alberto Manuel Brandão Simões wrote:
Dan, can we create this new vtable method? returning an integer (long
integer)... with name hashValue, or asHash.. or something else.
Yep. Call it id and have it return an INTVAL.
On Mon, 2002-07-22 at 17:07, Leon Brocard wrote:
On Mon, Jul 22, 2002 at 01:12:57PM -0400, Dan Sugalski wrote:
At 5:52 PM +0100 7/22/02, Alberto Manuel Brandão Simões wrote:
Dan, can we create this new vtable method? returning an integer (long
integer)... with name hashValue, or asHash.. or something else.
Yep. Call it id and have it
On Mon, 22 Jul 2002, Dan Sugalski wrote:
At 5:52 PM +0100 7/22/02, Alberto Manuel Brandão Simões wrote:
Dan, can we create this new vtable method? returning an integer (long
integer)... with name hashValue, or asHash.. or something else.
Yep. Call it id and have it return an INTVAL.
Do we
Dan Sugalski:
# At 5:52 PM +0100 7/22/02, Alberto Manuel Brandão Simões wrote:
# Dan, can we create this new vtable method? returning an
# integer (long
# integer)... with name hashValue, or asHash.. or something else.
#
# Yep. Call it id and have it return an INTVAL.
Can we have it return a