What "if" is faster - classic or shorthand?
There are two types of "if" statement in java - classic (if {} else {}) and shorthand (exp ? value1 : value2). Is one faster than another or is are they the same?

Classic:
>     int x;
    if (epression) {
      x = 1;
    } else {
      x = 2;
    }

Shorhand:

>     int x = (expression) ? 1 : 2;
What "if" is faster - classic or shorthand?
===

There are two types of "if" statement in java - classic (if {} else {}) and shorthand (exp ? value1 : value2). Is one faster than another or is are they the same?

Classic:
>     int x;
    if (epression) {
      x = 1;
    } else {
      x = 2;
    }

Shorhand:

>     int x = (expression) ? 1 : 2;