MACSCRPT Archives

December 2012

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 13 Dec 2012 20:47:48 +0000
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Message-ID:
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
In-Reply-To:
Content-Type:
text/plain; charset=UTF-8; format=flowed
From:
John Delacour <[log in to unmask]>
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