Chunk order must be small to large

Jim Bufalini jim at visitrieve.com
Fri Mar 13 00:27:15 CDT 2009


Hi Stephen,

How about instead of just elevating this from a "bug" to a "problem" we elevate it to a "feature" which, as Richard was so kind as to take the time to elaborate on and explain, that if the natural order is respected, even if you use parentheses, makes your code run faster. ;-)

Aloha from Hawaii,

Jim Bufalini

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] On Behalf Of stephen barncard
> Sent: Thursday, March 12, 2009 6:24 PM
> To: How to use Revolution
> Subject: Re: Chunk order must be small to large
> 
> And I never saw this problem because I intuitively use parentheses!
> Stephen Barncard
> -------------------------
> San Francisco
> http://barncard.com
> 
> 
> 2009/3/12 Richard Gaskin <ambassador at fourthworld.com>
> 
> > Jim Bufalini wrote:
> > ...
> >
> >> And this is logical as, a. You can set itemDelimiter and
> lineDelimiter but
> >> not the word delimiter (smallest chunk, which word boundary has
> undergone
> >> a
> >> change recently in Rev 3.0), b. When parsing text, words are
> generally
> >> smaller chunks than phrases, which are usually delimited with
> commas, c.
> >> As
> >> has been pointed out, you can override this parsing order using
> >> parenthesis,
> >> and lastly d. All that's needed here is *item 1 of "aaa,bbb"* ;-)
> >>
> >
> > And there's also e. you get a lot of raw speed by letting the parser
> safely
> > make logical assumptions about chunk order.
> >
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list