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

[REBOL] Re: Interface to A J Martin's ML dialect

From: brett::codeconscious::com at: 29-Aug-2003 23:34

> BTW: the python dictionary (of the {key: 'value'} structure is a > implementation of a binary tree in the "C" source, and is very fast > at runtime. > > Does rebol have anything comparable ("under the hood")? > tim
If you had a large number of keys to search then REBOL has the hash! datatype. But I'd be suprised if it were faster than using block! like you are now for anything less than about 150 items. I haven't measured it - just a guess. If you end up with a functionally similiar REBOL script to your Python code it would be interesting to know how they compare in performance. Regards, Brett.