-
Notifications
You must be signed in to change notification settings - Fork 139
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
Implement modulo argument of revertibleRandom
#2986
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 9c630d3 Collapsed results for better readability
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2986 +/- ##
==========================================
+ Coverage 80.21% 80.29% +0.08%
==========================================
Files 359 359
Lines 84285 84484 +199
==========================================
+ Hits 67607 67837 +230
+ Misses 14247 14223 -24
+ Partials 2431 2424 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
revertibleRandom
with modulo argument
revertibleRandom
with modulo argumentrevertibleRandom
with a modulo argument
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.
Great work!
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.
Nice!
revertibleRandom
with a modulo argumentrevertibleRandom
@AlexHentschel Could you please review the implementation? |
I improved the tests in 0f775bc: Each test case (which potentially might run in concurrently) should use its own |
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 now, great work!
Should be ready to get merged once the memory metering has been added.
@dsainati1 @SupunS Could you also please have a look? |
@thanks @turbolent for the comments and commits. |
…w/cadence into tarak/2712-revertibleRandom-modulo
@tarakby can you please have a look at the new commits?
|
Nice, thanks @turbolent 👌🏼 I added a minor improvement in 41117f8. The PR is ready for merging. |
@tarakby Sounds good! 41117f8 looks good 👌 Agreed, the PR should be ready for review now. @dsainati1 @SupunS could you please have a final look? |
Closes #2712
Description
Specifically the item:
Docs is updated in a separate PR against the doc repo: onflow/cadence-lang.org#37
master
branchFiles changed
in the Github PR explorer