home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8680 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.4 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!Jane.UH.EDU!LIBH
  2. From: libh@Jane.UH.EDU
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Sorting/Printing
  5. Message-ID: <1992Aug21.003819.8961@menudo.uh.edu>
  6. Date: 21 Aug 92 00:38:19 GMT
  7. Article-I.D.: menudo.1992Aug21.003819.8961
  8. References: <1992Aug20.022202.2349@menudo.uh.edu>,<BtA5C2.HqE@world.std.com>
  9. Sender: usenet@menudo.uh.edu (USENET News System)
  10. Reply-To: libh@Jane.UH.EDU
  11. Organization: University of Houston
  12. Lines: 18
  13. Nntp-Posting-Host: jane.uh.edu
  14.  
  15. In article <BtA5C2.HqE@world.std.com>, jkenton@world.std.com (Jeff Kenton) writes:
  16. >In article <1992Aug20.022202.2349@menudo.uh.edu> libh@Jane.UH.EDU writes:
  17. >>
  18. >>  I am working on a project for a friend that requires me to sort a large file
  19. >>of records (2000+ entries generally) that will change from month to month as he
  20. [deleted]
  21. >
  22. >
  23. >There are lots of different sorting techniques.  See Knuth, Volume 3.
  24. >
  25. >Before you actually go write a serious disk sort (it will teach you
  26. >something worthwhile, of course) consider just sorting the new entries
  27. >each month and merging them into the old (sorted) file.  Much quicker.
  28. >
  29.   I used to have access to Knuth and read it often but someone stole it from
  30. the library.  Also, the problem with sorting the new files and merging is that
  31. each month will be a seperate file that shouldn't be merged.  (January,
  32. February, etc.....).
  33.