Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!marc From: marc@Apple.COM (Mark Dawson) Newsgroups: comp.sys.mac.programmer Subject: Re: MacApp pascal compiler Message-ID: <38373@apple.Apple.COM> Date: 6 Feb 90 02:29:22 GMT References: <1990Feb2.154008.17297@isy.liu.se> Distribution: comp Organization: Apple Computer Inc, Cupertino, CAKeywords: Lines: 27 In article <1990Feb2.154008.17297@isy.liu.se> frederia@isy.liu.se (Frederic Aron) writes: > >We are developping a software into MacApp (brand new experience ffor us) and >the compiler seems to be rather slow. Would there be a trick (include files, >segmentation or ...) to increase the speed by avoiding to compile the parts >of the program that have not been modified? >Thanks for any answer or proposition.' > There are a couple of ways to speed up a MacApp compile (using Pascal or C++): (1) Hardware: a) Get more RAM (with C++ and Multifinder you practically are required to use 8mb) b) Get a faster processor (Mac IIci). (2) Programing: a) Put each method in its own file. This will mean that you may have many files (I have about 20 source files). This will speed up your compiles (I don't know of any way to speed up your links). b) Try to include as few headers as possible--the more you include the slower the compile (really check and make sure that you need to include all of the default Mac header files). Those are my speedup tips (one that costs $$ and one that costs a change in programming style. --Mark