• 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: Working with big lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working with big lists


  • Subject: Re: Working with big lists
  • From: Rob Stott <email@hidden>
  • Date: Mon, 23 May 2005 08:43:30 +0100


On 22 May 2005, at 21:40, has wrote:

Use a more efficient algorithm. You should only need to scan each line in the file once, whereas your current routine scans each line N times (where N is the number of lines in the file) - horribly inefficient.


Yep, that's what was bothering me - it seemed like a nasty way of going about it but I couldn't think of an alternative. That chunk of Python REALLY speeds things up. Thanks for that.

r.


---

Rob Stott - Development Team, Trident UK
Connaught Road, Kingswood, East Yorkshire, England
Tel: +44 (0) 1482 828100 • Mobile: +44 (0) 7881 811533

My work: http://www.apple.com/uk/creative/trident/
My schedule: http://ical.mac.com/robstott/Robs Schedule
My band: http://www.superscapemusic.co.uk




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Working with big lists
      • From: has <email@hidden>
References: 
 >Re: Working with big lists (From: has <email@hidden>)

  • Prev by Date: Re: Setting 'group' for person in Address Book....
  • Next by Date: RE: Remote AppleEvents for Folder Path
  • Previous by thread: Re: Working with big lists
  • Next by thread: Re: Working with big lists
  • Index(es):
    • Date
    • Thread