Java-Markdown-Generator
Java-Markdown-Generator copied to clipboard
Improved padding performance
Replaced String
concatenations by StringBuilder
. This code is 2.5 faster than the original one (using JMH Benchmark on padding left/right/center of an empty String with 50 "-").
Solves #29
why it's not merged yet?
why it's not merged yet?
There is no merge on this library since 2020, maybe the maintainer has new duties...
As an alternative, you could copy/paste the StringUtils
class with the original package name : this will override the original class.