Repository navigation
#220 do *not* use Arrays.copyOf(), performance seems to be inferior - #224
cowtowncoder merged 4 commits into
Conversation
…nferior to System.arrayCopy() + cleanup
|
@winfriedgerlach Ok no real change wrt |
|
@cowtowncoder Very good question that I don't have the perfect answer for. Very old comments (Joshua Bloch) say Things seem to have changed quite a lot in the JDK recently (~beginning of 2023), so different Java versions may perform considerably differently:
Other quite new (2024) benchmarks find no significant difference between My own micro (and a little less micro benchmarks) showed As Jackson currently supports every Java version from Java 8 to 23, I recon it is safer to stick with I definitely have to agree that the code is nicer with |
No description provided.