Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Halve the number of implementations of removeDotSegments #2207
I noticed that we had implementations of RFC3986's Remove Dot Segments in two places (and I think we removed another implementation already?).
I made a very quick JMH benchmark:
And replaced the recursive implementation, with the string builder based one.
It now lives in