Re :yet quicker sort [Re: List sorting dilemma]
Re :yet quicker sort [Re: List sorting dilemma]
- Subject: Re :yet quicker sort [Re: List sorting dilemma]
- From: email@hidden
- Date: Fri, 26 Jul 2002 23:56:03 EDT
This may be like taking a 500 pound hammer to a 1 ounce
nail, but it results in the quickest sort for any longer
list of items I've used (great when sorting in AS bogs to a
waiting game):
Using BBEdit (note: I think AS is supported by BBEdit Lite
4.6, available free, although I'm using 5.1 commercial
version these days to encourage BareBones to continue
development with my payment), place the items from the list
into a new text document. Use return to separate list
entries (bullets or tabs to separate fields in records, if
present, placing the desired sort field in as the first
field), then tell BBEdit to sort via QuicKeys (why doesn't
BBEdit support it's own sort command via applescript?!?) or
tell it to sort manually during a pause in the script
(beep/display dialog and pause until response [sort
here]/beep/continue).
OS 9.2.1 / BBEdit 5.1 :
words ranging from 1 to 15 characters, 6 char average for test -
10,000 word sort < 2 seconds.
100,000 word sort < 8 seconds
Feed the results back out to the list.
I've tried this with a number of apps, including Word, Excel,
Nisus, etc., and the fastest sort I've found so far (even faster
than ones I've written in any language other than C, and as fast
as the fastest C sort I've written) is BBEdit's.
Seems like I'm taking more time to move the data than to
sort it by a long shot. It's a damn fast sort...
=-= Marc
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.