• 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: list-building performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list-building performance


  • Subject: Re: list-building performance
  • From: Nigel Redmon <email@hidden>
  • Date: Sat, 2 Jun 2007 12:50:29 -0700

No, that doesn't do it (I want to append a list of lists to a list of lists)--that's basically the same thing I started with (and looks like I'll stick with). I can do it with the "&" operator (set my theList to my theList & {{...},{...}}), but that appears to negate the speed improvement that comes with using the list property. So I'll stick with the way I was doing it (setting the end of the list in two separate statements). It's extremely fast anyway, using the property (it still goes up exponentially, apparently, but it seems to be nearly 40 times faster, and I don't think I'll need to make lists that are long enough to be a problem). Thanks.


On Jun 2, 2007, at 11:40 AM, Emmanuel wrote:
At 11:17 AM -0700 6/2/07, Nigel Redmon wrote:
That is, is there a way to

{{<listA>}} & {{<listB>},{<listC>}}

 and get

{{<listA>},{<listB>},{<listC>}}

instead of {{<listA>},{{<listB>},{<listC>}}?

Is that what you want?

set fred to {{"listB"}, {"listC"}}
set beginning of fred to {"listA"}
fred
--> {{"listA"}, {"listB"}, {"listC"}}

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >list-building performance (From: Nigel Redmon <email@hidden>)
 >Re: list-building performance (From: KOENIG Yvan <email@hidden>)
 >Re: list-building performance (From: Nigel Redmon <email@hidden>)
 >Re: list-building performance (From: KOENIG Yvan <email@hidden>)
 >Re: list-building performance (From: Nigel Redmon <email@hidden>)
 >Re: list-building performance (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: GUI TextEdit
  • Next by Date: Re: Searching a Mail message
  • Previous by thread: Re: list-building performance
  • Next by thread: Re: list-building performance
  • Index(es):
    • Date
    • Thread