Make hot methods in-line friendly
Refactor a few hot methods so that they are more likely to be in-lined by the JIT. Fixes gh-11409
This commit is contained in:
@@ -211,7 +211,7 @@ final class AsciiBytes {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj.getClass().equals(AsciiBytes.class)) {
|
||||
if (obj.getClass() == AsciiBytes.class) {
|
||||
AsciiBytes other = (AsciiBytes) obj;
|
||||
if (this.length == other.length) {
|
||||
for (int i = 0; i < this.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user