home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / cbm / 5130 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.4 KB  |  38 lines

  1. Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!csus.edu!netcom.com!fuzzy
  2. From: fuzzy@netcom.com (Fuzzy Fox)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Make directory longer?
  5. Message-ID: <1992Dec19.064112.2461@netcom.com>
  6. Date: 19 Dec 92 06:41:12 GMT
  7. References: <1992Dec17.174154.992@gdwest.gd.com>
  8. Distribution: usa
  9. Organization: Foxes 'R' Us - Seven locations to serve you
  10. Lines: 26
  11.  
  12. stlucas@gdwest.gd.com (Joseph St. Lucas) writes:
  13.  
  14. >1.) store recipes in a humongous sequential file.  Access would be slow
  15. >and messy.
  16.  
  17. Accessing files on a disk with 300 directory entires would be just as
  18. slow.
  19.  
  20. >2.) store recipes using one or two files per recipe.  The 2/file stores
  21. >ingredients in one file, instructions in another.
  22.  
  23. This is probably the best idea as far as speed tradeoff, and it doesn't
  24. require modifying DOS.  :)
  25.  
  26. You might also consider doing track/sector allocations yourself, using
  27. Block-Allocate commands.  Sure it's not a lot of fun, but CBM DOS is
  28. never fun.  :)
  29.  
  30. And don't forget good old relative files, which are compatible across
  31. multiple versions of DOS (1541/71/81/1001/8250/etc.)
  32.  
  33. -- 
  34. #ifdef TRUE         | Fuzzy Fox                  fuzzy@netcom.com
  35. #define  TRUE   0   | a.k.a. David DeSimone      an207@cleveland.freenet.edu
  36. #define  FALSE  1   | "You have been recruited by the Star League to defend
  37. #endif              |    the Frontier against Xur and the Kodan Armada."
  38.