From ... From: Erik Naggum Subject: Re: STL efficiency (Was: Re: C++ briar patch (Was: Object IDs are bad)) Date: 1997/05/21 Message-ID: <3073246705972749@naggum.no>#1/1 X-Deja-AN: 242959628 References: <3072702392790368@naggum.no> <5lu7ar$2uf$1@goanna.cs.rmit.edu.au> <5lvdv3$n24@ds2.acs.ucalgary.ca> mail-copies-to: never Organization: Naggum Software; +47 2295 0313; http://www.naggum.no Newsgroups: comp.lang.scheme,comp.lang.lisp,comp.lang.misc,comp.lang.functional,comp.lang.c++ * Stephen Norman | I suspect that apparent poor performance comes from the inability of the | g++ 2.7.2 compiler to inline code generated from templates. I suspect | that if Mr. O'Keefe examined the code generated for his C++ program, he | would find it littered with call instructions that a better compiler | would have replaced with inline code. how is this argument any different from the argument that Lisp can be made extremely efficient by a "sufficiently smart compiler"? why are you C++ guys buying this argument when applied to C++ and vehemently object to it when applied to Lisp? "of course, C++ has to be fast, because it's heresy in my religion to say that it isn't!" #\Erik -- if we work harder, will obsolescence be farther ahead or closer?