• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converting binary to decimal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Converting binary to decimal (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Scripting Network Proxy settings
  • Next by Date: Newbie: Activating Scripting Additions
  • Previous by thread: Re: Converting binary to decimal
  • Next by thread: Re: Converting binary to decimal
  • Index(es):
    • Date
    • Thread