-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: tools
-
b35
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.