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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public From: Bertrand Meyer Subject: Re: What is wrong with OO ? Date: 1997/01/23 Message-ID: <32E7A091.41C67EA6@eiffel.com>#1/1 X-Deja-AN: 211788666 references: <5acjtn$5uj@news3.digex.net> to: Chris.Bitmead@Alcatel.com.au content-type: text/plain; charset=us-ascii organization: Interactive Software Engineering Inc. mime-version: 1.0 newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng x-mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.3 sun4c) Date: 1997-01-23T00:00:00+00:00 List-Id: Chris Bitmead wrote: [Quoting me, quotation abridged:] > >ISE Eiffel does give the user a degree of parameterization: > >a compilation option specifies the size threshold beyond which > >a routine will not be inlined. [...] > >Most users are happy with the > >default, which inlines small, frequently called routines. [Chris Bitmead:] > How on earth does the compiler know if a routine is "frequently > called"? Sorry, sloppy wording on my part. I meant "called from many different places in the code", which does tend to correlate with the numbers of times the routine will be called, although of course this is not always true (as with a routine that is called from just one place, but that place is in a loop). Just one criterion among others. Thanks for noting the incongruity in my original message. -- Bertrand Meyer, President, ISE Inc., Santa Barbara (California) 805-685-1006, fax 805-685-6869, - ftp://ftp.eiffel.com Visit our Web page: http://www.eiffel.com (including instructions to download Eiffel 4 for Windows)