home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.pen
- Path: sparky!uunet!wupost!eclnews!usenet
- From: dale@manet.wustl.edu (Dale Frye)
- Subject: Re: Smallest PenPoint App (code size)
- Message-ID: <1993Jan4.171000.28365@wuecl.wustl.edu>
- Sender: usenet@wuecl.wustl.edu (News Administrator)
- Nntp-Posting-Host: degas
- Reply-To: dale@manet.wustl.edu
- Organization: Washington University, School of Engineering, St. Louis MO
- References: <1992Dec31.032315.22424@netcom.com>
- Date: Mon, 4 Jan 1993 17:10:00 GMT
- Lines: 32
-
- In article <1992Dec31.032315.22424@netcom.com> cew@netcom.com (Clayton
- Weimer) writes:
- > dale@manet.wustl.edu (Dale Frye) writes:
- >
- > >In article <1heotpINNe0r@nigel.msen.com> ggolden@msen.com (Glenn
- Golden)
- > >EMPTYAPP EXE 11120 12-24-92 9:57a
- >
- > Still seems large, was this compiled with DEBUG on? I've had
- > apps below 5k, and they are useful too :-)
- >
-
- Yup, I forgot to turn on production mode. Here's the new stats.
-
- EMPTYAPP EXE 1228 01-04-93 10:18a
-
-
- 1.2K sounds much nicer. For those who don't know put
-
- MODE = production
-
- in you makefile to disable the debug mode. It also helps to use the Dbg()
- macro to remove any debugging statements and code from production code.
-
- Dbg(Debugf("This is an error statement");)
- and
- Dbg( /* Waste time for debugging */ for (i=0;i<10000;i++);)
-
- and yes there is no ; at the end of that line.
-
- Dale Frye
- Washington University in St. Louis
-