Path: utzoo!attcan!uunet!van-bc!ubc-cs!fornax!mcdonald From: mcdonald@fornax.UUCP (Ken Mcdonald) Newsgroups: comp.sys.mac.programmer Subject: C/LSC question Message-ID: <113@fornax.UUCP> Date: 4 Nov 89 07:59:35 GMT Distribution: na Organization: School of Computing Science, SFU, Burnaby, B.C. Canada Lines: 17 I'm writing a program in C which requires lots of calls to a small number of very small functions. Because of the number of calls made to them, these functions need to be as fast as possible; because of their size, it would be quite worthwhile to have the code for these functions inserted by the compiler directly wherever said function is called, rather than having the compiler generate all the necessary stack manipulations and JSRs involved in a "real" function call. Is there any way to have C do this? Is there any way to have Lightspeed C (okay, okay, THINK C, but I liked the old name better) do this? If not, is there any good way to fake it? How about any bad way? Please don't say I have to use the built in assembler, I'd prefer to avoid going down to that level. Thanks for the help. Ken McDonald {mcdonald@fornax.uucp}