Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!ctrsol!ginosko!uunet!portal!cup.portal.com!ts From: ts@cup.portal.com (Tim W Smith) Newsgroups: comp.sys.mac.programmer Subject: Re: List manager and Think C Message-ID: <21813@cup.portal.com> Date: 3 Sep 89 02:57:30 GMT References: <5501@viscous.sco.COM> <9389@cadnetix.COM> <5014@portia.Stanford.EDU> Organization: The Portal System (TM) Lines: 10 The method dispatching is different when you run the program from Think C that it is when you build an application. When you run from Think C it does not appear to optimize method dispatching. I noticed this because I wanted to see how much overhead was involved in OO stuff in Think C, so I wrote a test program and single stepped it with TMON. Everything wemt through the method dispatcher. I then build the application and single stepped. Now many things did not go through the method dispatcher. Instead they jsr'ed to a jmp to the method. Tim Smith