From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=5.0 tests=BAYES_40,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!aplcomm!uunet!weyrich!orville From: orville@weyrich.UUCP (Orville R. Weyrich) Newsgroups: comp.lang.ada Subject: Re: Use pragma INLINE or not? Message-ID: <1991Jun19.085804.1813@weyrich.UUCP> Date: 19 Jun 91 08:58:04 GMT References: <1991Jun18.171459.11744@software.org> Reply-To: orville@weyrich.UUCP (Orville R. Weyrich) Organization: Weyrich Computer Consulting List-Id: In article <1991Jun18.171459.11744@software.org> stluka@neptune.software.org (Fred Stluka) writes: >About the use of pragma INLINE... > >There seem to be 2 schools of thought: > > 1) Don't use it. Smart compilers will automatically > inline the most appropriate routines. > > 2) Use it. Compilers aren't that smart yet. > >What do you think? > 3) Use it if you think that you have the time and ability to do a better job than the compiler of sub-optimizing the code. -------------------------------------- ****************************** Orville R. Weyrich, Jr., Ph.D. Certified Systems Professional Internet: orville%weyrich@uunet.uu.net Weyrich Computer Consulting Voice: (602) 391-0821 POB 5782, Scottsdale, AZ 85261 Fax: (602) 391-0023 (Yes! I'm available) -------------------------------------- ******************************