home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12959 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.1 KB

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