Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25562

Re: replace extended characters

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: replace extended characters
Date 2011-02-11 17:39 -0500
Organization albasani.net
Message-ID <ij4dph$3d5$3@news.albasani.net> (permalink)
References (1 earlier) <ij1uhu$80n$2@lust.ihug.co.nz> <pg05p.441$Y63.22@newsfe02.iad> <ij279r$cq3$5@lust.ihug.co.nz> <4d54a21c$0$23755$14726298@news.sunsite.dk> <1c68bb17-af5a-48c6-9fcf-8b765b088b1f@w21g2000yqm.googlegroups.com>

Show all headers | View raw


Arne Vajhøj wrote:
>> Good design is not premature optimization.

Paul Cager wrote:
> That's true, but in this case I'd like to quote Rob Pike: "Bottlenecks
> occur in surprising places, so don't try to second guess and put in a
> speed hack until you have proven that's where the bottleneck is."
>
> Where would you guess the program will be spending most of its time -
> manipulating bits in the CPU or waiting for disk IO?

It's too early to ask that question.  It suffices to come up with the 
reasonably performant algorithm as suggested upthread.  No one so far has 
engaged in premature optimization here.

-- 
Lew
Ceci n'est pas une fenêtre.
.___________.
|###] | [###|
|##/  | *\##|
|#/ * |   \#|
|#----|----#|
||    |  * ||
|o *  |    o|
|_____|_____|
|===========|

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: replace extended characters Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-11 13:06 +1300
  Re: replace extended characters Arne Vajhøj <arne@vajhoej.dk> - 2011-02-10 21:45 -0500
  Re: replace extended characters Lew <noone@lewscanon.com> - 2011-02-11 17:39 -0500
  Re: replace extended characters Paul Cager <paul.cager@googlemail.com> - 2011-02-11 09:18 -0800
  Re: replace extended characters Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-02-10 21:27 -0400
    Re: replace extended characters Arne Vajhøj <arne@vajhoej.dk> - 2011-02-10 21:42 -0500
    Re: replace extended characters Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-11 15:35 +1300
    Re: replace extended characters Lew <noone@lewscanon.com> - 2011-02-10 21:29 -0500

csiph-web