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

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!euas62c36!euamts
  3. From: euamts@eua.ericsson.se (Mats Henricson)
  4. Subject: Re: Special-purpose-heap-managers - references
  5. Message-ID: <1992Dec18.120948.5677@eua.ericsson.se>
  6. Sender: news@eua.ericsson.se
  7. Nntp-Posting-Host: euas62c36.eua.ericsson.se
  8. Reply-To: euamts@eua.ericsson.se
  9. Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
  10. References: <1992Dec18.110536.11510@daimi.aau.dk>
  11. Date: Fri, 18 Dec 1992 12:09:48 GMT
  12. Lines: 20
  13.  
  14. In article 11510@daimi.aau.dk, sabroe@daimi.aau.dk (Morten Sabroe Mortensen) writes:
  15. #Could anyone, -who have tried-, tell, what kind of experiences they have with 
  16. #special-purpose-heap-managers like 'Pool', in what kind of program, with what 
  17. #kind of result/speed-up? 
  18.  
  19. We did a test of several class libraries, of which one was using a Pool class.
  20. In one test (putting and removing integers from a Set class) the Pool-based
  21. solution was ~20 times faster. That was the extreme case. In another test the
  22. gain was "only" 2.3 times.
  23.  
  24. BUT REMEMBER: all this performance difference is NOT because of a Pool class.
  25. The libraries differed in many other respects, which affected performance.
  26.  
  27. And then again: size and performance isn't everything...
  28.  
  29. Mats Henricson
  30. Ellemtel
  31. Stockholm
  32. Sweden
  33.  
  34.