home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
- From: d88-jwa@dront.nada.kth.se (Jon W{tte)
- Subject: Re: Lots of precompiling in ThC (Re: Help! System error #28)
- In-Reply-To: k044477@hobbes.kzoo.edu's message of Thu, 13 Aug 1992 15:48:21 GMT
- Message-ID: <D88-JWA.92Aug14000416@dront.nada.kth.se>
- Originator: d88-jwa@dront.nada.kth.se
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: dront.nada.kth.se
- Organization: Royal Institute of Technology, Stockholm, Sweden
- References: <D88-JWA.92Aug13162902@dront.nada.kth.se>
- <1992Aug13.154821.12112@hobbes.kzoo.edu>
- Date: Thu, 13 Aug 1992 23:04:16 GMT
- Lines: 32
-
- .kzoo.edu> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
-
- >This trick will ... reduce the size of
- >your project file a lot. If you use the class library, why not include
- >those headers as well ? A class library project then becomes < 600K in
- >size !
-
- Two reasons not to do this:
-
- (1) Option-clicking on the title bar won't display header files that are
- also in a precompiled header. This makes bouncing around source code a
- lot slower.
-
- Well, don't you know the class library by heart anyway ?
- And there's this excellent browser available too, and for
- a lot of stuff I use cmd-F Whatever cmd-H <CR> which is
- really what I want to do (as in; where is this stuff referenced)
-
- (2) Last I knew (ThC4, I think), the compiler took quite a while to chew
- through a huge precompiled header file. While I'm sure it's faster to
- read a precompiled symbol than to parse it, huge precompiled files mean
- you prepend, to each file, a lot of code you don't need. When I removed
- all the TCL files from my precompiled header, my compile speed doubled.
-
- Depends on your disk cache size. Myself I use a RAM disk, but
- setting the cache to 512 kB will fit the headers nice & easy.
-
- --
- - I have decided that it is not boxes but my lack of skill that's the problem.
- - Traitor! This kind of attitude will get you nowhere around here. If you must
- know, it's not your boxes that are the problem, it's your lack of a
- sufficient number of boxes. Go out and buy something.
-