Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34975
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2016-07-19 05:18 -0700 |
| References | (3 earlier) <nmj61j$95o$1@dont-email.me> <cc1c596f-a043-4ba7-9e55-b98fc12cc89c@googlegroups.com> <nmjhqe$jj6$1@dont-email.me> <d30c2b2f-0471-4231-9867-19126e5edc13@googlegroups.com> <nml5ih$l1b$1@dont-email.me> |
| Message-ID | <ec30d6bb-6a64-48a1-a714-ae494539715c@googlegroups.com> (permalink) |
| Subject | Re: So I did "FizzBuzz", in Java! |
| From | Eric Douglas <e.d.programmer@gmail.com> |
On Tuesday, July 19, 2016 at 8:14:20 AM UTC-4, Eric Sosman wrote: > Now: If you have a program X that produces correct output, and a > program Y that produces no output, you will notice the defect in Y > the first time you run it. You will then modify Y to produce Z, which > runs and produces the correct output. > > Question: How fast must Z be to ensure that the combined running > time of Y plus Z is less than that of X? > > ... and that's what I mean about the "price" of efficiency. The > single unproductive run of Y has already dissipated more time than > the X minus Z speedup can recoup. What if it just leads you to question the requirements? You find that the print requirement was actually generating a 100 page daily report no one really needed. The program could simultaneously run faster and save trees by saving the data electronically instead.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: So I did "FizzBuzz", in Java! Daniel Pitts <usenet@coloraura.com> - 2016-07-18 09:26 -0700
Re: So I did "FizzBuzz", in Java! Eric Douglas <e.d.programmer@gmail.com> - 2016-07-18 10:10 -0700
Re: So I did "FizzBuzz", in Java! Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-07-18 14:09 -0400
Re: So I did "FizzBuzz", in Java! Eric Douglas <e.d.programmer@gmail.com> - 2016-07-18 14:00 -0700
Re: So I did "FizzBuzz", in Java! Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-07-18 17:30 -0400
Re: So I did "FizzBuzz", in Java! Eric Douglas <e.d.programmer@gmail.com> - 2016-07-19 05:06 -0700
Re: So I did "FizzBuzz", in Java! Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-07-19 08:13 -0400
Re: So I did "FizzBuzz", in Java! Eric Douglas <e.d.programmer@gmail.com> - 2016-07-19 05:18 -0700
Re: So I did "FizzBuzz", in Java! Martin Gregorie <martin@address-in-sig.invalid> - 2016-07-18 21:59 +0000
Re: So I did "FizzBuzz", in Java! Arne Vajhøj <arne@vajhoej.dk> - 2016-07-18 19:51 -0400
Re: So I did "FizzBuzz", in Java! Arne Vajhøj <arne@vajhoej.dk> - 2016-07-18 19:46 -0400
csiph-web