GH-110109: Speed up pathlib._PathBase.resolve()
#110412
+17
−22
Merged