Thread View: comp.sys.mac.oop.macapp3
1 messages
1 total messages
Started by TOM_BECKER
Wed, 27 Jan 1993 19:12
MethTables? Use -NoBottlene
Author: TOM_BECKER
Date: Wed, 27 Jan 1993 19:12
Date: Wed, 27 Jan 1993 19:12
28 lines
1551 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads