Re: Working with big lists
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
|
_______________________________________________
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