Re: Help with find text command
Re: Help with find text command
- Subject: Re: Help with find text command
- From: Philip Aker <email@hidden>
- Date: Sun, 12 Aug 2007 22:19:47 -0700
On 2007-08-07, at 15:44:12, Mark J. Reed wrote:
On 8/7/07, Philip Aker <email@hidden> wrote:
Thanks again. A comparison of all the single pass scripts reveals
the succinctness of the Tcl, the speediness of the Perl
I tried to make the Perl quite legible, but I wouldn't say it's any
less succinct than the Tcl. It's more lines, but that's as much
because I split long lines so they fit in 80 columns than anything
else. :)
I un-split all those lines in my alterations. I've also now adapted
all scripts to read from the same input file and done a few
optimizations on both the Tcl and Perl scripts. The result was an
average of 8 milliseconds less for Tcl and 5 milliseconds less for
the perl on the single pass but virtually no change for either on the
1000 iteration tests. Weird.
I had to use a {13,17} instead of {13} in the new script versions to
account for unwanted ISBN-13s (which weren't included in the original
sample text).
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