Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: hash code for object ?

From: gregg:pointillistic at: 6-Jun-2007 9:40

Hi Arnaud, AG> Is there something like an hashcode for object in rebol as we have AG> in java ? Yes, REBOL has a hash! datatype, which has the same interface as a block!, but is (obviously) much faster for lookups. The only catch is that the behavior is *slightly* different than the block! type for some operations, so it's not a complete drop-in replacement in all cases, depending on how you use it. -- Gregg