home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7825 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.7 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!lynx!nmsu.edu!opus!trodgers
  2. From: trodgers@nmsu.edu (Thomas Rodgers)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: LARGE Sorts and such...
  5. Message-ID: <1993Jan4.004731.4428@nmsu.edu>
  6. Date: 4 Jan 93 00:47:31 GMT
  7. References: <1993Jan3.222248.18162@news.acns.nwu.edu>
  8. Sender: usenet@nmsu.edu
  9. Organization: NMSU Computer Science
  10. Lines: 26
  11. In-Reply-To: delusion@casbah.acns.nwu.edu's message of Sun, 3 Jan 1993 22:22:48 GMT
  12.  
  13. Your best bet is a Merge sort, which is designed to sort manageable
  14. chunks of a very large input file.  The idea is that the input is
  15. broken up into many small pieces, each of which is sorted, then all of
  16. the sorted pieces are merged back together.  Any good advanced data
  17. structures book will have a discussion of the algorithm.  A commercial
  18. product for TurboPascal that does this is included in Turbo Power
  19. Software's BTREE Filer.  You might look into that if you don't feel
  20. inclined to write the code yourself.  However, with BTREE filer, you
  21. might just as well put all of the records in an ISAM database and
  22. order them on your sort criteria and be done with it.
  23.  
  24. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  25. trodgers@nmsu.edu     In Real Life ???
  26.  
  27.                      ---------------------------
  28.     "Bob's" promise is to widen the scope and nature of *abnormal 
  29. behavior*, to explore NEW WAYS of going over the edge *and coming
  30. back*.  PLUS to *bring back those who couldn't on their own*...to
  31. help you create the HIGHEST POSSIBLE EARNINGS from the PSYCHODYNAMICS
  32. of ABNORMALITY...to turn Conspiracy-implanted personality disorders
  33. into an ILLUSION OF CREATIVITY that will *fool normals* and GET YOU
  34. SEX!
  35. --
  36.   Excerpted from an online pamphlet for the Church Of The SubGenius
  37.  
  38.  
  39.