home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!euas62c36!euamts
- From: euamts@eua.ericsson.se (Mats Henricson)
- Subject: Re: Special-purpose-heap-managers - references
- Message-ID: <1992Dec18.120948.5677@eua.ericsson.se>
- Sender: news@eua.ericsson.se
- Nntp-Posting-Host: euas62c36.eua.ericsson.se
- Reply-To: euamts@eua.ericsson.se
- Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
- References: <1992Dec18.110536.11510@daimi.aau.dk>
- Date: Fri, 18 Dec 1992 12:09:48 GMT
- Lines: 20
-
- In article 11510@daimi.aau.dk, sabroe@daimi.aau.dk (Morten Sabroe Mortensen) writes:
- #Could anyone, -who have tried-, tell, what kind of experiences they have with
- #special-purpose-heap-managers like 'Pool', in what kind of program, with what
- #kind of result/speed-up?
-
- We did a test of several class libraries, of which one was using a Pool class.
- In one test (putting and removing integers from a Set class) the Pool-based
- solution was ~20 times faster. That was the extreme case. In another test the
- gain was "only" 2.3 times.
-
- BUT REMEMBER: all this performance difference is NOT because of a Pool class.
- The libraries differed in many other respects, which affected performance.
-
- And then again: size and performance isn't everything...
-
- Mats Henricson
- Ellemtel
- Stockholm
- Sweden
-
-