d9d84f814c
We've traditionally used org.apache.activemq.artemis.utils.Base64 for Base64 encoding/decoding. This implementation is based on public domain code from http://iharder.net/base64. In Java 8 java.util.Base64 was introduced. I assumed we hadn't switched to this implementation for performance reasons so I created a simple JMH-based test to compare the two implementations and it appears to me that java.util.Base64 is significantly faster than our current implementation. Using the JDK's class will simplify our code and improve performance. Also, it should be 100% backwards compatible since Base64 encoding/decoding is standardized. |
||
---|---|---|
.. | ||
src | ||
enable-log-bundle-annotation-processor | ||
pom.xml |