• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Linked lists (was osascript - path to me)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linked lists (was osascript - path to me)


  • Subject: Re: Linked lists (was osascript - path to me)
  • From: Bill Cheeseman <email@hidden>
  • Date: Mon, 20 May 2002 17:57:13 -0400

I find your thinking quite persuasive.

on 02-05-20 1:00 PM, Christopher Nebel at email@hidden wrote:

> Here's my thinking:
>
> 1. Linked lists aren't documented anywhere aside from the 1.1 release
> notes.
> 2. They're essentially useless right now, because the only operations
> for which they're more efficient than vectors (i.e., insertion and
> deletion) don't work. Of course, we plan to fix that, at least for
> vectors.
> 3. They're not entirely supported as it is -- they don't support a bunch
> of the properties vectors do.
> 4. They're not functionally equivalent to vectors -- "set" has radically
> different behaviors in some cases, and it's not always easy to predict
> where or why. (This is not a bug -- it's inherent in the data
> structures. We could perhaps make linked lists act like vectors, but it
> would tend to destroy the performance advantages.) This means that you
> can't just flip your script from one to the other without looking at it
> very carefully.
> 5. Having an extra class increases the implementation and documentation
> work accordingly.
> 6. I'm uncomfortable philosophically with asking scripters to make a
> decision between two subtly different data structures purely for
> performance reasons. AppleScript is supposed to be useful to people who
> don't know Computer Science and don't particularly want to know. I want
> to reduce the number of data types scripters have to deal with, not
> increase it.


--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Linked lists (was osascript - path to me)
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Linked lists (was osascript - path to me) (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Change IP address in OSX
  • Next by Date: Re: osascript - path to me
  • Previous by thread: Re: Linked lists (was osascript - path to me)
  • Next by thread: Re: Linked lists (was osascript - path to me)
  • Index(es):
    • Date
    • Thread