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
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
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){...}
>
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
> 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
> 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
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
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
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
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 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
11 matches
Mail list logo