Re: Sorting a List Solution Revisited was Sorting A List - Need Help
Re: Sorting a List Solution Revisited was Sorting A List - Need Help
- Subject: Re: Sorting a List Solution Revisited was Sorting A List - Need Help
- From: Rick Bargerhuff alias cougar <email@hidden>
- Date: Thu, 31 Jul 2003 20:49:46 -0400
On Thursday, Jul 31, 2003, at 19:48 US/Eastern, Gary Lists wrote:
On or about 1/1/70 12:24 AM, Rick Bargerhuff alias cougar wrote:
Before I post the script project either on the web or directly to the
list, please let me know if attachments are allowed on these lists.
They are not passed along to the list.
A web post may be the best method. I'd like to see your work.
Heya Gary,
Thanks for the reply.
RE: QuickSort and variants:
I too find it almost impossible to follow...if only I knew what the
single
letter variables _were_ that would help me understand and use it more.
Absolutely. Very difficult to understand and is a waste of AppleScript
if the
AppleScript coders have difficulty understanding what is going on.
To the list :
The project is posted at the following URL:
http://mywpages.comcast.net/cougar718/files/Human_Sort_via_QuickSort.sit
Ok, currently Human sort order is disabled. To enable, change the
following
variable to true: pBlnEnableHumanSort
What needs to be done :
We need to optimize the code.
Speed is a great concern. This takes 6 seconds on my PM G4 Dual 1 Ghz
Human sort order needs to be tested to make sure it is achieved on a
variety of items.
I believe it will be achieved but need to make sure.
Currently if the above property is set to true, the order comes out
as...
1
10
100
1000
Anything else you think will improve the code.
I will post to the list under the same Subject as this one each time I
update
the code. I will update the code to reflect your suggestions. I will
also
update the code if I wind up fixing something myself.
If you want to submit your revision, include your revision at the top
of the script
and email it to me at my email address below.
Thanks and happy scripting,
Rick Bargerhuff alias cougar
Programmer / Developer / Computer Specialist
Personal Email: email@hidden
Personal Website :
http://mywebpages.comcast.net/cougar718
_______________________________________________
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.