home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18177 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.6 KB  |  34 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!mcsun!sunic!dkuug!daimi!sabroe
  3. From: sabroe@daimi.aau.dk (Morten Sabroe Mortensen)
  4. Subject: Special-purpose-heap-managers - references, FTP?
  5. Message-ID: <1992Dec18.110536.11510@daimi.aau.dk>
  6. Sender: news@daimi.aau.dk
  7. Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
  8. Date: Fri, 18 Dec 92 11:05:36 GMT
  9. Lines: 23
  10.  
  11. Can anybody tell me, if I can find C++ code for a special-purpose-heap-manager,
  12. -something like 'Pool' in "The C++ programming language"(473)-, somewhere on 
  13. the net, as ftp? It should be easy to construct a manager, that never gives
  14. memory back to the general-purpose-heap-manager, -but what about one, that 
  15. gives memory back? I need inspiration...
  16.  
  17. BS says, that use of a special-purpose-heap-manager could speed up a program,
  18. -that is, a "normal" program, that uses medium-heavy dynamic-allocation, 
  19. I guess(!)-, with a factor 2! Based on a few simple tests, I would not be 
  20. surpriced, if the speed-up could be much, much higher - say, 100x for a not 
  21. too heavily, dynamically allocating program of mine! Is that unrealistic; 
  22. based on an unrealistic, simple test? 
  23.  
  24. Could anyone, -who have tried-, tell, what kind of experiences they have with 
  25. special-purpose-heap-managers like 'Pool', in what kind of program, with what 
  26. kind of result/speed-up? 
  27.  
  28.         -- Morten.
  29.  
  30. ---------------------------------------------------------------------------
  31.  Morten Sabroe Mortensen,         e-mail: sabroe@daimi.aau.dk
  32.  Department of Computer-science - University of Aarhus, Denmark.
  33. ---------------------------------------------------------------------------
  34.