-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor: move simplify_expression.rs
and expr_simplifier.rs
to a new mod simplify_expressions
#3951
Refactor: move simplify_expression.rs
and expr_simplifier.rs
to a new mod simplify_expressions
#3951
Conversation
Signed-off-by: remzi <13716567376yh@gmail.com>
Signed-off-by: remzi <13716567376yh@gmail.com>
Signed-off-by: remzi <13716567376yh@gmail.com>
Signed-off-by: remzi <13716567376yh@gmail.com>
Signed-off-by: remzi <13716567376yh@gmail.com>
Signed-off-by: remzi <13716567376yh@gmail.com>
Signed-off-by: remzi <13716567376yh@gmail.com>
simplify_expression.rs
and expr_simplifier.rs
to a new mod simplify_exprs
simplify_expression.rs
and expr_simplifier.rs
to a new mod simplify_expressions
@alamb PTAL. Thank you! |
Signed-off-by: remzi <13716567376yh@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is great -- thank you @HaoYang670 . I was thinking the other day that the names of these modules was super confusing.
Benchmark runs are scheduled for baseline = 784f10b and contender = 10e64dc. 10e64dc is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
… new mod `simplify_expressions` (apache#3951) * create mod for expr_simpl Signed-off-by: remzi <13716567376yh@gmail.com> * move utility to utils Signed-off-by: remzi <13716567376yh@gmail.com> * create context mod Signed-off-by: remzi <13716567376yh@gmail.com> * add docs for context Signed-off-by: remzi <13716567376yh@gmail.com> * move constEvalutor to expr_simplififer Signed-off-by: remzi <13716567376yh@gmail.com> * move simplifier to expr_simplifier Signed-off-by: remzi <13716567376yh@gmail.com> * fix lints Signed-off-by: remzi <13716567376yh@gmail.com> * fix merge conflict Signed-off-by: remzi <13716567376yh@gmail.com> Signed-off-by: remzi <13716567376yh@gmail.com>
Which issue does this PR close?
Closes #3934.
Rationale for this change
Please look at the #3934
What changes are included in this PR?
Create a new mod
simplify_exprsssions
:simplify_exprs
: containsSimplifyExpressions
and testsexpr_simplifier
: containsExprSimplifier
,ConstEvalutor
,Simplifier
and testscontext
: containssimplifyInfo
andSimplifyContext
utils
: utility functionsConstEvalutor
andSimplifier
are marked asprivate
nowAre there any user-facing changes?
Yes.
ConstEvalutor
andSimplifier
are no longer public