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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d6e3f68a9ab5a3c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-12 06:49:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!ngpeer.news.aol.com!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc01.gnilink.net.POSTED!53ab2750!not-for-mail From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: <3dd082fe$0$307$bed64819@news.gradwell.net> <1037108893.573381@master.nyc.kbcfp.com> Subject: Re: Charles: Generic_Find X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Tue, 12 Nov 2002 14:49:11 GMT NNTP-Posting-Host: 141.157.176.51 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1037112551 141.157.176.51 (Tue, 12 Nov 2002 09:49:11 EST) NNTP-Posting-Date: Tue, 12 Nov 2002 09:49:11 EST Xref: archiver1.google.com comp.lang.ada:30760 Date: 2002-11-12T14:49:11+00:00 List-Id: "Hyman Rosen" wrote in message news:1037108893.573381@master.nyc.kbcfp.com... > It also introduces potentially significant optimization > opportunities, since for predicates, function call overhead can > easily dwarf the amount of computation done by the predicate > itself. In other words, the possibility of inlining the function is possible with the template / generic approach,whereas the pointer-to-function approach would force a function call.