home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18402 < prev    next >
Encoding:
Text File  |  1992-12-24  |  957 b   |  22 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!microsoft!hexnut!jimad
  3. From: jimad@microsoft.com (Jim Adcock)
  4. Subject: Re: Special-purpose-heap-managers - references, FTP?
  5. Message-ID: <1992Dec24.183511.22551@microsoft.com>
  6. Date: 24 Dec 92 18:35:11 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Dec18.110536.11510@daimi.aau.dk> <rmartin.725043829@thor>
  9. Lines: 11
  10.  
  11. In article <rmartin.725043829@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
  12. |I have made use of special purpose heap managers many times.  They are
  13. |easy to construct, and much faster than the general purpose
  14. |(new/delete, malloc/free) type allocators.  How much your application
  15. |will benefit from using them depends a lot on how much allocation you
  16. |perform.
  17.  
  18. Agreed.  The only disadvantage is that they are special purpose not general
  19. purpose.  Perhaps the right approach is to introduce special purpose allocators
  20. into a program where and when profiling indicates the need.
  21.  
  22.