MACSCRPT Archives

December 2012

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Delacour <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 13 Dec 2012 20:47:48 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On 13/12/2012 18:42, Emmanuel LEVY wrote:
> Do your records include many many keys?
>
> We were hit by a limit on the number of "keys" that AppleScript can store, those "keys" including the records' keys, all the variables' names and all the handlers' names.
>
> This is easily tested...

A good excuse to do the task with a language that has no such limits and 
which doesn’t take all night to get there!

do shell script "perl <<'END'
my %hash;
for (1..100000){
   $hash{$_} = $_/7;
}
printf '%.2f', $hash{14000};
END
" --


--JD

ATOM RSS1 RSS2