🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #380

MethTables? Use -NoBottlene

#380
From: TOM_BECKER
Date: Wed, 27 Jan 1993 19:12
28 lines
1551 bytes
From: "Tom Becker" <Tom_Becker@umacmail.apldbio.com>
To: "MacApp3 Tech$" <macapp3tech$@applelink.apple.com>
 
MethTables? Use -NoBottleneck!
Dear Friends,
 
If your %_Methtables segment overflows, and you're trying to build with -Debug,
the first thing you should try is -NoBottleneck.  MABuild -Debug automatically
turns on -Bottleneck, which inhibits the linker's method table optimizations.
MABuild -Debug -NoBottleneck turns the optimizations back on.  The caveat is
you lose "discipline method calls" on all the methods that are optimized into
ordinary procedure calls, so you could end up inside a method with "this ==
nil"!  Check objects with FailNonObject before calling their methods.
 
If you're or overflowing your method table and you're already using
-NoBottleneck or -NoDebug, my deepest sympathies.  Before you try -Model Far,
you may want to try hacking your application so it has fewer classes and fewer
overridden methods.  Not only may this get you in under the wire, it can
improve your app's structure and performance at the same time.
 
Hope this helps,
 
Tom Becker
Applied Biosystems, Inc.
twb@apldbio.com
 
 
 
Technical Details
Message-ID: <9301280318.AA12262@apldbio.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com
From: TOM_BECKER@UMACMAIL.APLDBIO.COM
Newsgroups: comp.sys.mac.oop.macapp3
Subject: MethTables? Use -NoBottlene
Message-ID: <9301280318.AA12262@apldbio.com>
Date: 27 Jan 93 19:12:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 28