Github user franz1981 commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1786#discussion_r162272711
--- Diff:
artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/SimpleString.java
---
@@ -361,13 +371,68 @@ public int hashCode() {
}
}
+ private static SimpleString[] splitWithCachedString(final SimpleString
simpleString, final int delim) {
--- End diff --
To avoid the translation into into each time because String::indexOf is
using int ---
