-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
b101
-
generic
-
generic
Creating URI objects in interpreted code is rather costly (14-50 us/op), mostly due to a number of methods in URI$Parser wrapping simple methods on the input String.
Inlining some of the simplest of these methods (charAt/substring) improves interpreted code 15-30% without affecting generated code quality.
Inlining some of the simplest of these methods (charAt/substring) improves interpreted code 15-30% without affecting generated code quality.