Article View: comp.lang.modula2
Article #2616Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)
From: Michael Feldman
Date: Fri, 13 Oct 1995 21:13
Date: Fri, 13 Oct 1995 21:13
27 lines
1866 bytes
1866 bytes
In article <EACHUS.95Oct12163833@spectre.mitre.org>, Robert I. Eachus <eachus@spectre.mitre.org> wrote: > I'd say overall not worth the effort, but in this case it was the >difference between very marginal and acceptable performance. (Looking >for obvious coding boners like looping through a list instead of doing >a binary search turned up another 6%, which left a reserve.) Ummm, yes. We do manage to get into endless arguments over whether this or that compiler, this or that language, is more "efficient." The big performance payoffs are, in fact, often to be had from eliminating "obvious coding boners" like using a linear algorithm where a log N one was appropriate. I am constantly amazed at the number of industry folks I've run into over the years who put down stuff like "big O" algorithm performance prediction as something horribly academic and useless.:-) Also the number of students, grad and undergrad, who complain about having to learn all that boring algorithm theory crap.:-) I am certainly not flaming Bob here, just taking his point and emphasizing that a little effort (or maybe a LOT of effort) spent in learning and choosing appropriate algorithms is probably a better investment of time than flipping compiler switches on and off. Mike Feldman
Technical Details
Message-ID:
<45mkqc$mpq@felix.seas.gwu.edu>Path:
arc1-ca.pugleaf.net!gwu.edu!not-for-mailReferences:
<44hcri$rsm@theopolis.orl.mmc.com> <45gghq$7m4@lastactionhero.rs.itd.umich.edu> <DGAL6L.1MM@world.std.com> <EACHUS.95Oct12163833@spectre.mitre.org>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!gwu.edu!not-for-mail From: mfeldman@seas.gwu.edu (Michael Feldman) Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++) Date: 13 Oct 1995 17:13:48 -0400 Organization: George Washington University Message-ID: <45mkqc$mpq@felix.seas.gwu.edu> References: <44hcri$rsm@theopolis.orl.mmc.com> <45gghq$7m4@lastactionhero.rs.itd.umich.edu> <DGAL6L.1MM@world.std.com> <EACHUS.95Oct12163833@spectre.mitre.org> NNTP-Posting-Host: 128.164.9.3