-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
add ==, !=, ===, !== operator support for evaluation #3693
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Ignored Deployments
|
|
Benchmark for 91e6303
Click to view full benchmark
|
8f74f7b
to
7628911
Compare
Benchmark for 92e58e5
Click to view full benchmark
|
7628911
to
1402d03
Compare
Benchmark for efa717d
Click to view full benchmark
|
1402d03
to
4f869f5
Compare
Benchmark for 5de35ee
Click to view full benchmark
|
4f869f5
to
db66e9b
Compare
Benchmark for 4854a0f
Click to view full benchmark
|
db66e9b
to
f8f900a
Compare
Benchmark for b5b4438
Click to view full benchmark
|
performance will be fixed by follow-up PR: #3670 |
Benchmark for 88ba4ee
Click to view full benchmark
|
( | ||
PositiveBinaryOperator::StrictEqual, | ||
JsValue::Constant(a), | ||
JsValue::Constant(b), | ||
) if a.is_value_type() => Some(a == b), | ||
( | ||
PositiveBinaryOperator::StrictEqual, | ||
JsValue::Constant(a), | ||
JsValue::Constant(b), | ||
) if a.is_value_type() => { |
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.
Can this second branch ever execute? It's the same match as the first.
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.
yeah, the second branch can be removed. The first branch is an less verbose version of the first one
…o#3693) extracted from vercel/turborepo#3670 depends on vercel/turborepo#3685 adds the equal operators to the evaluator
…o#3693) extracted from vercel/turborepo#3670 depends on vercel/turborepo#3685 adds the equal operators to the evaluator
…o#3693) extracted from vercel/turborepo#3670 depends on vercel/turborepo#3685 adds the equal operators to the evaluator
extracted from #3670
depends on #3685
adds the equal operators to the evaluator