On 2016-12-22 01:49, Clay Ferguson wrote:
BTW: This code would execute 10x faster as a switch statement:

if (c == '!' || c == '(' || c == ':' || c == '^'
            || c == '[' || c == ']' || c == '{' || c == '}' || c == '?' || c == 
'\\') {
            sb.append('\\');
        }

Would it?

(Stupid compiler, I'd say...)

Reply via email to