Re: Converting binary to decimal
Re: Converting binary to decimal
- Subject: Re: Converting binary to decimal
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 04 Jan 2005 17:58:26 -0800
On 1/4/05 5:18 PM, "Michelle Steiner" <email@hidden> wrote:
> On Jan 4, 2005, at 6:07 PM, Nigel Garvey wrote:
>
>>> Here is one that uses plain vanilla Applescript; it's slower that
>>> calling a shell script, though.
>>
>> Not on my machine (G3 400 PowerBook, Jaguar, 12-digit input). 500
>> iterations of the conversion part of your code take 0.6 seconds
>> (Joshua's
>> about the same), whereas 500 iterations of Gnarlodious's shell script
>> take 15 seconds. j
>
> That was my ignorance of unix talking; it assumed that anything arcane
> and shorter would be faster. Silly me. <g>
It might well be faster than AppleScript (?) running in the Terminal. But in
AppleScript it has to be done by calling an osax (do shell script) which
always has a significant overhead.
--
Paul Berkowitz
_______________________________________________
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