https://bz.apache.org/bugzilla/show_bug.cgi?id=68089
--- Comment #11 from Christopher Schultz <ch...@christopherschultz.net> --- (In reply to Mark Thomas from comment #9) > I did look at using !startsWith("jakarta") but that is ~2x slower than a > length check. > > I've coded up the length check and am just running some tests locally. What about charAt(0) == 'j'? I suppose that's the second thing String.equals() will do after checking the length, so maybe it won't help at all. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org