• 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: Sorting IP addresses - Progress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting IP addresses - Progress


  • Subject: Re: Sorting IP addresses - Progress
  • From: Andreas Amann <email@hidden>
  • Date: Sat, 20 Dec 2003 17:14:10 -0800

Cool - thanks for the testing! This means I won't have to change the sorting algorithm used in my scripts which I am about to release;-)

Andreas

It turns out your quick sort implementation is better than the one I adapted from that web site. Your quick sort sorted 10,000 items in 72 seconds as opposed to 349 seconds for the quick sort I adapted. Since my merge sort took 131 seconds for the same data set this means that your quick sort is indeed the quickest sorting implementation out of all of them for large data sets.

- Ken
_______________________________________________
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.

References: 
 >Re: Sorting IP addresses - Progress (From: Andreas Amann <email@hidden>)
 >Re: Sorting IP addresses - Progress (From: Graff <email@hidden>)

  • Prev by Date: Re: Sorting IP addresses - Progress
  • Next by Date: Re: Help! Need an AppleScript in a hurry! (Create text files based on file names)
  • Previous by thread: Re: Sorting IP addresses - Progress
  • Next by thread: Re: Sorting IP addresses - Progress
  • Index(es):
    • Date
    • Thread