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


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

Re: replace extended characters

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!news-transit.tcx.org.uk!news.albasani.net!not-for-mail
From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: replace extended characters
Date Fri, 11 Feb 2011 17:39:29 -0500
Organization albasani.net
Lines 27
Message-ID <ij4dph$3d5$3@news.albasani.net> (permalink)
References <15bd3363-c781-487b-98d5-2243eff7cc8f@24g2000yqa.googlegroups.com> <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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net +fupo9Qw/36hqFeXA5OIsjuvwCCinlQ1Y1kGfAZvT23JQUarcc5wkXVpYrFLehVdXfRR+haP+0mKRfGBBDn39Q==
NNTP-Posting-Date Fri, 11 Feb 2011 22:38:41 +0000 (UTC)
In-Reply-To <1c68bb17-af5a-48c6-9fcf-8b765b088b1f@w21g2000yqm.googlegroups.com>
Cancel-Lock sha1:/LQkHQSZzQzK4GKt3ZJjiHG49OE=
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Injection-Info news.albasani.net; logging-data="gOy7hsQi1rPy1LkxLgO/wy8/N/GrDDAmxZTI6Knxuc4MuFNEgOYXr24OVx+sCXMk+50lWkf9ZX3q4VAXld4hcz2j1oOBb2lNyrMcnxoZvllOpbuKk/cppsgjMdqyZR6Y"; mail-complaints-to="abuse@albasani.net"
Xref csiph.com comp.lang.java.programmer:25562

Show key headers only | 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