🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2337

Re: use of the break statement

#2337
From: Konrad Schwarz
Date: Wed, 20 Mar 1996 04:28
14 lines
1003 bytes
H. Rubin writes:
>What you are saying is that if someone finds a method of coming up 
>with code which when intelligently compiled will run faster that the
>compiler should not try to take that and compile it intelligently?

It's easy to optimize: enumerate all possibilities and see which is
quickest.

P == NP ?

Konrad Schwarz

PS: What I am trying to say is that the time complexity of many
optimizations makes them intractible.
Technical Details
Message-ID: <4io1hm$nmi@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4hqedf$1m0@solutions.solon.com> <4i2k0n$8jd@solutions.solon.com> <4i97ht$8gb@solutions.solon.com> <4ianbt$h8m@solutions.solon.com> <4ii358$nn9@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: schwarz@mips.complang.tuwien.ac.at (Konrad Schwarz)
Newsgroups: comp.lang.c.moderated
Subject: Re: use of the break statement
Date: 19 Mar 1996 22:28:38 -0600
Organization: TU Wien
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4io1hm$nmi@solutions.solon.com>
References: <4hqedf$1m0@solutions.solon.com> <4i2k0n$8jd@solutions.solon.com> <4i97ht$8gb@solutions.solon.com> <4ianbt$h8m@solutions.solon.com> <4ii358$nn9@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com