Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!r35g2000prj.googlegroups.com!not-for-mail From: Sanny Newsgroups: comp.lang.java.programmer Subject: Re: Java left shift and right shift operators. Date: Tue, 26 Apr 2011 09:32:02 -0700 (PDT) Organization: http://groups.google.com Lines: 24 Message-ID: References: <295e16b3-2ed8-4529-bfb0-1cc26ed93ad6@d26g2000prn.googlegroups.com> <188cz6ta97kkm$.dlg@kimmeringer.de> NNTP-Posting-Host: 122.168.206.80 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1303835523 23109 127.0.0.1 (26 Apr 2011 16:32:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 26 Apr 2011 16:32:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r35g2000prj.googlegroups.com; posting-host=122.168.206.80; posting-account=TwCTWQgAAAC7hf6GV7aTGIk6mVGkiZ5c User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FDM),gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3272 > This is a conversation, not a bunch of lackeys leaping to your bid. =A0Pl= ease > answer the questions. Sorry, for that. I wanted to be short. not going into long discussions. > You claim inefficiency in something you have no clue whatsoever to be ine= fficient. > > Here's another question, assuming you answer Lothar's question at all, if= you > did perform measurements, what were the results? I have computed and found "if statments" take 20-50 times longer than basic arithmetic operations. So I wanted to replace if condition by some arithmetics/ Maths. Bye Sanny