-
Type:
Sub-task
-
Resolution: Won't Fix
-
Priority:
P4
-
Affects Version/s: 8, 9
-
Component/s: tools
The implementation of setTypeAnnotationPositions will iterate over N type annotations N times, looking for a specific tree position. This is O(N^2). The implementation should use a hash table or similar structure to reduce running times to O(N).