Package com.schibsted.spt.data.jslt.impl
Class OptimizeUtils
java.lang.Object
com.schibsted.spt.data.jslt.impl.OptimizeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LetExpression[]
optimizeLets
(LetExpression[] lets) Removes let expressions for variables that are simply assigned to literals, because VariableExpression will inline those literals and remove itself, so there's no need to evaluate the variable.
-
Constructor Details
-
OptimizeUtils
public OptimizeUtils()
-
-
Method Details
-
optimizeLets
Removes let expressions for variables that are simply assigned to literals, because VariableExpression will inline those literals and remove itself, so there's no need to evaluate the variable.
-