Re: ObjC++ Compile Speed
Re: ObjC++ Compile Speed
- Subject: Re: ObjC++ Compile Speed
- From: Ingvar Nedrebo <email@hidden>
- Date: Mon, 7 Jan 2002 12:53:05 +0000
Well slap me silly for not reading release notes. Adding -cpp-precomp to
the ObjC++ compile commands to force the use of precompiled headers
brought the time of the ObjC++ w/Cocoa.h down from 6.7s to 0.7s. Thanks
for pointing this out to me.
Ingvar
On Monday, January 7, 2002, at 12:05 , Kurt Revis wrote:
I have found that the reason ObjC++ compiles so much slower than plain
ObjC is because ObjC++ does not take advantage of the precompiled
framework headers. ... I will report this as a bug to Apple.
I'm quite sure that they already know about this issue. See here:
http://developer.apple.com/techpubs/macosx/ReleaseNotes/Objective-
C++.html
notably the section "Using Precompiled Headers with Objective-C++".