-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
[Merged by Bors] - Preserve ints when executing int operations #1964
Conversation
Test262 conformance changesVM implementation
|
Codecov Report
@@ Coverage Diff @@
## main #1964 +/- ##
==========================================
+ Coverage 45.87% 45.90% +0.02%
==========================================
Files 206 206
Lines 17102 17116 +14
==========================================
+ Hits 7846 7857 +11
- Misses 9256 9259 +3
Continue to review full report at Codecov.
|
Benchmark for 3f3f545Click to view benchmark
|
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.
Looks good to me! :)
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.
bors r+
bors r+ |
This Pull Request fixes/closes #1962. It changes the following: - When executing arithmetic operations on `JsValue`s, try to use integer operations and fallback to `f64` operations on error. - Adds tests for serde_json conversions from integer operations.
Pull request successfully merged into main. Build succeeded: |
@jedel1043 does this solve #1147? |
Not really, this just optimizes arithmetic operations, and |
This Pull Request fixes/closes #1962. It changes the following: - When executing arithmetic operations on `JsValue`s, try to use integer operations and fallback to `f64` operations on error. - Adds tests for serde_json conversions from integer operations.
This Pull Request fixes/closes #1962.
It changes the following:
JsValue
s, try to use integer operations and fallback tof64
operations on error.