• 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: Help with find text command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with find text command


  • Subject: Re: Help with find text command
  • From: Philip Aker <email@hidden>
  • Date: Tue, 07 Aug 2007 11:30:31 -0700

On 2007-08-05, at 07:31:05, Mark J. Reed wrote:

For the record, I think this is a silly exercise, but OK, Perl is attached.

Well, neither I, nor obviously William Wallace think not.

Sorry if I wasn't clear. I wasn't referring to the problem being solved, but to the scripting-language bake-off you're building around it.

Well, beauty is in the eye of the beholder. I actually can't remember seeing a multi-language comparison to solving the same problem on this list so perhaps when completed, it can be used as a referral.


What I find interesting is the varying algorithmic approaches taken. I occasionally port them to one or another of the C languages for use in other circumstances.


I'm not about to judge someone's problem to be solved as somehow unworthy! And while I think the bake-off is silly, I obviously don't think it's completely pointless or I wouldn't have contributed. :)

Thanks again. A comparison of all the single pass scripts reveals the succinctness of the Tcl, the speediness of the Perl, and the convoluted ungainliness and grotesque (obese ?) size of the AppleScript (for which I'll take full responsibility).


ยง

I've updated the files at <http://homepage.mac.com/philip_aker/dl/ code/TestISBN.zip> once more so that the Tcl, Perl, and AppleScript examples produce the same results and added a shell script which runs all of them and reports times.

The AppleScript 1000 repetition takes 900 times as the Perl script and 400 times as long Tcl script. As an AppleScript fan, I'm absolutely shocked by the extraordinary difference in execution times.


Philip Aker email@hidden _______________________________________________ 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
  • Follow-Ups:
    • Re: Help with find text command
      • From: "Mark J. Reed" <email@hidden>
    • Re: Help with find text command
      • From: "Wallace, William" <email@hidden>
References: 
 >Re: Help with find text command (From: has <email@hidden>)
 >Re: Help with find text command (From: Philip Aker <email@hidden>)
 >Re: Help with find text command (From: "Mark J. Reed" <email@hidden>)
 >Re: Help with find text command (From: Philip Aker <email@hidden>)
 >Re: Help with find text command (From: "Mark J. Reed" <email@hidden>)
 >Re: Help with find text command (From: Philip Aker <email@hidden>)
 >Re: Help with find text command (From: Philip Aker <email@hidden>)
 >Re: Help with find text command (From: "Mark J. Reed" <email@hidden>)
 >Re: Help with find text command (From: Philip Aker <email@hidden>)
 >Re: Help with find text command (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Quark AppleScript Created Text Boxes Disappearing
  • Next by Date: Re: How to determine whether an event has an alarm
  • Previous by thread: Re: Help with find text command
  • Next by thread: Re: Help with find text command
  • Index(es):
    • Date
    • Thread