• 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: Sifting a list sans loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sifting a list sans loop


  • Subject: Re: Sifting a list sans loop
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 28 Jan 2002 08:12:43 -0800

On 1/28/02 7:15 AM, "Arthur J Knapp" <email@hidden> wrote:

> This works for almost any AppleScript type-class. One word
> of caution: for a list of 5000 items, you might run into
> AppleScript's upper limit for returning a list, approx 4050
> some items or so:

Ah. What's this, then? I think I (or rather a user) may have run into this.

Will it apply, say, to lists of lists? I.e., to a list of 1000 sub-lists
each with 50 items? That would explain something I've been mulling over.
I've been considering whether I should convert each of those 1000 sublists
to tab-delimited strings and write the string to a line of text file one at
a time as I go along, rather than convert the entire master-list to text at
the very end and write it as one text variable as I've been doing. It
doesn't take much longer to do so. It sounds as if I should, or at the very
least convert each sublist to string as I go along, so as to have only 1000
items, not 5000. But it's not completely impossible that somebody might have
5000 larger (text) items even so, so writing a line at a time would still
make sense in that latter case.

Does anyone know if there is a precise limit, and if it applies to 'total of
all sub-items in a master list' or just to subtotals of items in each
sub-list?

--
Paul Berkowitz


  • Follow-Ups:
    • Re: Sifting a list sans loop
      • From: "Serge Belleudy-d'Espinose" <email@hidden>
References: 
 >Re: Sifting a list sans loop (From: Arthur J Knapp <email@hidden>)

  • Prev by Date: Re: OS X test for Class Folder
  • Next by Date: Speed of applets vs. compiled scripts
  • Previous by thread: Re: Sifting a list sans loop
  • Next by thread: Re: Sifting a list sans loop
  • Index(es):
    • Date
    • Thread