2022-May-02 - Prerelease - 2.6.725
Pre-release
Pre-release
github-actions
released this
02 May 10:54
·
1172 commits
to master
since this release
Use an in-memory cache in ImageFactory by string key. (#10356) * Use an in-memory cache in ImageFactory. This prevents excessive ImageIO.read() calls on images. I noticed this showed up in execution time profiles when looking at the performance of handling mouse events during the move phase, which spent a lot of time in updateRouteAndMouseShadowUnits() that eventually call down to this for country small flags. * Fix format. * Cache by key. * Remove commented out code.