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: tim:johnsons-web at: 29-Aug-2003 7:46

* Brett Handley <[brett--codeconscious--com]> [030829 05:49]:
> > 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.
I have built dynamic forms with over 300 fields. (hated it!)
> 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.
I will be doing some comparisons, but regardless of who comes out on top, the difference at runtime is not likely to be as significant as ease of coding and maintenance. Python makes you jump through more hoops coding-wise, but has a way of 'forcing' a discipline that one has to conciously employ with rebol..... Interesting enough, although I haven't seen it covered explicitly in this list, the use of an anonymous context is more of sure-fire way of controlling data encapsulation than is a named context or python classes... tim
> Regards, > Brett. > > -- > To unsubscribe from this list, just send an email to > [rebol-request--rebol--com] with unsubscribe as the subject.
-- Tim Johnson <[tim--johnsons-web--com]>