home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15420 < prev    next >
Encoding:
Text File  |  1992-09-13  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!darwin.sura.net!welchgate.welch.jhu.edu!francois
  3. From: francois@welchgate.welch.jhu.edu (Francois Schiettecatte)
  4. Subject: handles and MoveHHi
  5. Message-ID: <1992Sep13.161238.28426@welchgate.welch.jhu.edu>
  6. Organization: Johns Hopkins Univ. Welch Medical Library
  7. Date: Sun, 13 Sep 1992 16:12:38 GMT
  8. Lines: 21
  9.  
  10. Hi, sorry if these questions are a FAQ but here goes:
  11.  
  12. - is there a real advantage to using MoveHHi before locking your
  13. handles, I have not really seen much on that except that Think Reference
  14. suggests that is *may* help in reducing heap fragmentation. Are there
  15. any definite rules for using MoveHHi and caveat.
  16.  
  17. - Also when passing parameters in C is it better to use pointers or
  18. handles. I guess the answer is really along the lines of it depends
  19. on what you do with them afterwards, ie do you lock them, do you need to 
  20. allocate new memory, etc. Does anyone have any guidelines for this.
  21.  
  22. If there is interest, I wil post back a summary.
  23.  
  24. thansk
  25.  
  26. francois
  27.  
  28.  
  29. francois@welchgate.welch.jhu.edu
  30.  
  31.