-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
b112
-
generic
-
generic
Calling Source.getLine() can be very expensive with very large scripts as it iterates through all source characters up to the position.
We're also using this methods in places where it can be easily avoided because the line number is already available, such as Parser.functionExpression() and CodeGenerator.enterThrowNode().
We're also using this methods in places where it can be easily avoided because the line number is already available, such as Parser.functionExpression() and CodeGenerator.enterThrowNode().