Re: List size limit
Re: List size limit
- Subject: Re: List size limit
- From: Simon Forster <email@hidden>
- Date: Sat, 10 Mar 2007 20:41:04 +0000
On 10 Mar 2007, at 17:27, has wrote:
Simon Forster wrote:
I seem to recall people mentioning on the list that AppleScript lists
start to get a bit flakey above a certain size. 15,000 items OK?
The issues I can recall are: 1. serialising lists breaks for over
approx. 4000 items, and 2. item lookups normally have O(n)
efficiency, which means performance sucks on large lists unless you
use certain fairly well known kludges that force constant-time O(1)
lookups. But apart from those issues I think you should be okay.
HTH
has
p.s. You might also consider using Perl/Python/Ruby for this job,
as they tend to be much more powerful, efficient and robust than
AppleScript. They'll certainly zip through your filesystem much
faster than AS.
<laugh />
I know you not but I love ya. Your tune is so consistent. (Meant in
the nicest possible way).
OK. When I have a free mo' I'll dust down my nascent Python skills
and apply those to the problem. It'll be good for me and, to be
frank, I do get bored struggling with AppleScript's...
idiosyncrasies. Having said that, I do appreciate AppleScript's
gaffer taped-ness. If only the core language was a bit more robust.
Oh. And before you bang on about your Python / AppleScript libraries,
while I really appreciate all the effort you've put into them, I'm
not going to put a load of effort into loading new libraries, deal
with _their_ idiosyncrasies, etc. It's just not core enough for me
(at the moment).
None-the-less, keep up the good work and... I love ya man.
<insert sound of another glass of wine being poured />
Simon Forster
_______________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 (0)20 8133 0528 Fax: +44 (0)70 9230 5247
_______________________________________________________
_______________________________________________
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