Re: OT if/else or not if/else

2016-04-22 Thread Baran Topal
if else i prefer. Multiple ifs sounds like a political programming and you are not sure what you are doing. 22 Nisan 2016 Cuma tarihinde, Leon Rosenberg yazdı: > Hi guys, > > this is completely off-topic ;-) > > I was wondering if using if/else is not actually slowing

Tomcat 9.0.0-M4 seems not to start digest algorithm on JDBC Realm as did tomcat 8.0.25

2016-04-22 Thread Fabio Ricci
Dear tomcat Community I am using cross context (which seems to be easy to configure but in in tomcat 8 hard to run) … so today I downloaded tomcat 9 and I migrated my apps to it. In tomcat 9 cross context is running smoothly (thank you!) To authenticate my config is using JDBCRealm with a mysql

Re: OT if/else or not if/else

2016-04-22 Thread Olaf Kock
Am 22.04.2016 um 18:24 schrieb Leon Rosenberg: > Hi guys, > > this is completely off-topic ;-) > > I was wondering if using if/else is not actually slowing down your code. > Lets say I have three possible conditions, A, B and C, which are exclusive. > My native approach would be: > if (A){...} >

Re: OT if/else or not if/else

2016-04-22 Thread Tim Watts
On Fri, 2016-04-22 at 17:34 +0100, Mark Thomas wrote: > On 22/04/2016 17:24, Leon Rosenberg wrote: > > Lets say I have three possible conditions, A, B and C, which are exclusive. > > My native approach would be: > > if (A){...} > > if (B){...} > > if (C){...} > > > > now some people would

RE: OT if/else or not if/else

2016-04-22 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] > Subject: OT if/else or not if/else > I was wondering if using if/else is not actually slowing down your code. > Lets say I have three possible conditions, A, B and C, which are exclusive. > My native approach would be: > if (A){...} > if

RE: OT if/else or not if/else

2016-04-22 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: OT if/else or not if/else > But I would add that if the conditions can be reduced to enumerations, a > Switch would be even faster. Actually, a good compiler should generate the same code for switch and if ... else if, assuming

Re: OT if/else or not if/else

2016-04-22 Thread David kerber
On 4/22/2016 12:34 PM, Mark Thomas wrote: On 22/04/2016 17:24, Leon Rosenberg wrote: Hi guys, this is completely off-topic ;-) Excellent. An almost perfect Friday afternoon distraction. You just needed some decent troll bait to make it perfect. ;) I was wondering if using if/else is not

Re: OT if/else or not if/else

2016-04-22 Thread James H. H. Lampert
But what is now, given that compilers can optimize stuff like this and tell the processor to calculate all 3 branches simultaneously, which is not possible for ifelse. Which one would you choose? Equally important, which one do you think is more readable? I would say if else is hard to read, but

Re: OT if/else or not if/else

2016-04-22 Thread Mark Thomas
On 22/04/2016 17:24, Leon Rosenberg wrote: > Hi guys, > > this is completely off-topic ;-) Excellent. An almost perfect Friday afternoon distraction. You just needed some decent troll bait to make it perfect. ;) > I was wondering if using if/else is not actually slowing down your code. > Lets

OT if/else or not if/else

2016-04-22 Thread Leon Rosenberg
Hi guys, this is completely off-topic ;-) I was wondering if using if/else is not actually slowing down your code. Lets say I have three possible conditions, A, B and C, which are exclusive. My native approach would be: if (A){...} if (B){...} if (C){...} now some people would 'optimize' it as

Tomcat 8.0.28 and above

2016-04-22 Thread bhanu lakkala
Tomcat Team: I have been working on an issue for the past few days and wanted to check with you guys if you have any suggestions on fixing this issue. My current technology stack is: windows 7, java 7/8, tomcat 8, axis2 1.6.3. I have an axis2 based web service that is very basic and it just