• 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: Concatenating records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Concatenating records


  • Subject: Re: Concatenating records
  • From: Ben Waldie (AppleScript Guru) <email@hidden>
  • Date: Mon, 27 Jan 2003 18:47:25 -0500

Paul,

On Monday, January 27, 2003, at 03:43 AM, Paul Berkowitz wrote:

If I'm building up a record by concatenating a new property (label and
value) to it, one by one, until I reach perhaps 100 properties, will it be
more efficient memory-wise if I concatenate the new property to the end:

I am not 100% sure about this. However, I would guess that neither method would be more efficient over the other. I think they would probably be identical.

In the case of lists, however, it is more efficient memory-wise to say...

set end of theList to theNewListItem

Instead of saying...

set theList to theList & theNewListItem

Thanks,

- Ben

Benjamin S. Waldie
AppleScript Guru

http://www.applescriptguru.com
http://www.applescripttraining.com
_______________________________________________
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: Concatenating records
      • From: Paul Berkowitz <email@hidden>
References: 
 >Concatenating records (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Simple Script
  • Next by Date: Re: Concatenating records
  • Previous by thread: Concatenating records
  • Next by thread: Re: Concatenating records
  • Index(es):
    • Date
    • Thread