home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!mcsun!sunic!dkuug!daimi!sabroe
- From: sabroe@daimi.aau.dk (Morten Sabroe Mortensen)
- Subject: Special-purpose-heap-managers - references, FTP?
- Message-ID: <1992Dec18.110536.11510@daimi.aau.dk>
- Sender: news@daimi.aau.dk
- Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
- Date: Fri, 18 Dec 92 11:05:36 GMT
- Lines: 23
-
- Can anybody tell me, if I can find C++ code for a special-purpose-heap-manager,
- -something like 'Pool' in "The C++ programming language"(473)-, somewhere on
- the net, as ftp? It should be easy to construct a manager, that never gives
- memory back to the general-purpose-heap-manager, -but what about one, that
- gives memory back? I need inspiration...
-
- BS says, that use of a special-purpose-heap-manager could speed up a program,
- -that is, a "normal" program, that uses medium-heavy dynamic-allocation,
- I guess(!)-, with a factor 2! Based on a few simple tests, I would not be
- surpriced, if the speed-up could be much, much higher - say, 100x for a not
- too heavily, dynamically allocating program of mine! Is that unrealistic;
- based on an unrealistic, simple test?
-
- 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?
-
- -- Morten.
-
- ---------------------------------------------------------------------------
- Morten Sabroe Mortensen, e-mail: sabroe@daimi.aau.dk
- Department of Computer-science - University of Aarhus, Denmark.
- ---------------------------------------------------------------------------
-