home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!prism!combee
- From: combee@prism.gatech.EDU (Ben Combee)
- Newsgroups: comp.lang.c++
- Subject: Re: BC 3.1 TV Running slow ?
- Message-ID: <66986@hydra.gatech.EDU>
- Date: 27 Aug 92 12:07:57 GMT
- References: <1992Aug19.232224.3557@cssc-woll.tansu.com.au> <1992Aug27.073530.9986@info.ucl.ac.be>
- Organization: Satellite of Love, Gizmonic Institute
- Lines: 15
-
- On the specific problem of 3.1 TV being slower than 3.0's TV:
-
- 1) The memory allocation routines (and the whole library) were compiled
- with debugging. If you recompile it using the option -DNDEBUG to
- define the macro NDEBUG, there will be a large jump in speed. The
- debug version calls heapcheck () after every allocation and deallocation.
-
- 2) This version also defaults to TScreen::checkSnow == True. By setting this
- variable to False you will get another jump in speed, as writes to the
- screen will not have to wait for the refresh.
- --
- Benjamin L. Combee | -===-
- Internet: combee@prism.gatech.edu | = ___ "Home of the Big G Burger"
- 1991-1992 joint enrollee | - = -- MST3K, Comedy Central
- C, Modula-2, C++ resource | -===-
-