blackears / svgSalamander

154 stars 56 forks source link

Performance improvements #106

Closed tsmock closed 1 year ago

tsmock commented 1 year ago

When I was profiling JOSM with the Name Suggestion Index enabled during startup, I noticed that a good chunk of memory allocations were coming from Pattern instantiations and NumberCharState.

Looking at the remaining allocations, Float.parseFloat in PathParser.nextFloat are the primary drivers.

blackears commented 1 year ago

Thanks for this contribution.