Hi Claes,

On 11/29/2016 11:30 PM, Peter Levart wrote:


http://cr.openjdk.java.net/~plevart/jdk9-dev/8035424_SignatureParser.performance/webrev.02/


Which loop do you prefer. The above one or the following?

    private void skipIdentifier() {
        char c;
        while (!((c = current()) == ';' || c == '.' || c == '/' ||
                 c == '[' || c == ':' || c == '>' || c == '<' ||
                 Character.isWhitespace(c))) {
            advance();
        }
    }


Peter

Reply via email to