Re: Problems with speed & issues with coercion in OS 9.2.2 (App
Re: Problems with speed & issues with coercion in OS 9.2.2 (App
- Subject: Re: Problems with speed & issues with coercion in OS 9.2.2 (App
- From: Victor Yee <email@hidden>
- Date: Mon, 28 Jan 2002 16:17:25 -0500
On Mon, 28 Jan 2002 10:25:11 -0500, Arthur J Knapp wrote,
>
> return (string_or_alias as alias as string) ends with ":"
>
>
Wow, that's great. :)
>
>
If one were to speculate about things behind the scenes, it might be
>
that AppleScript's "end of" syntax simply goes to the last item, where
>
as a negative index might actually cause AS to go into "counting mode",
>
ie: it begins a backwards traversal through the string until it comes
>
to item -1. Obviously, it would get to item -1 rather quickly, but with
>
the "end of" syntax, it wouldn't even begin a traversal in the first
>
place.
Does that mean that "items 1 thru end" would be more efficient than "items 1
thru -1"?
Victor