Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!voder!apple!lsr From: lsr@apple.UUCP (Larry Rosenstein) Newsgroups: comp.lang.pascal Subject: Re: Pascal Message-ID: <279@apple.UUCP> Date: Mon, 10-Nov-86 13:27:40 EST Article-I.D.: apple.279 Posted: Mon Nov 10 13:27:40 1986 Date-Received: Mon, 10-Nov-86 21:42:44 EST References: <1144@cit-vax.Caltech.Edu> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Distribution: world Organization: Advanced Development Group, Apple Computer Lines: 34 In article <1144@cit-vax.Caltech.Edu> rs4u#@andrew.cmu.edu.UUCP (Rich Seigel) writes: > >I understand that Object Pascal can really slow down a compiler. A friend >uses MPW (the Macintosh Programmer's Workshop, from Apple) at work, and he >says that the regular Pascal compiles about as fast as TML, but the Object >Pascal code compiles much more slowly... > There is no difference in compilation speed for regular Pascal constructs and Object Pascal constructs. There is nothing inherent in Object Pascal that makes it slow to compile. There are 2 possible reasons for thinking that Object Pascal is slow to compile. (1) The person was using it with MacApp, which has a large interface section. Much of the compiler's tiem is spent parsing interfaces. (2) The person was using the beta release of MPW which did not support the $LOAD feature for Object Pascal. $LOAD allows you to save symbol tables in a binary format that are fast to load into the compiler. This has been fixed in MPW 1.0. Using the latest compiler, the turnaround time for a small change to a MacApp progam is 2-3 minutes. This is much slower than LSP, but much faster than using the beta MPW compiler w/o $LOAD. -- Larry Rosenstein Object Specialist Apple Computer AppleLink: Rosenstein1 UUCP: {sun, voder, nsc, mtxinu, dual}!apple!lsr CSNET: lsr@Apple.CSNET