Details
-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b35
Description
The fast-path in JrtPath tests for whether the path contains '.', which is suboptimal: most paths will have a dot even though they don't need to be manipulated, so many paths will go through the slow-path for no reason.
Testing if the path either contains "./" or ends with a dot will ensure only paths that need to be manipulated have to take the slow path.
Testing if the path either contains "./" or ends with a dot will ensure only paths that need to be manipulated have to take the slow path.