-
Notifications
You must be signed in to change notification settings - Fork 140
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 array slice function #1315
Add array slice function #1315
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 51cac40 Results
|
Codecov Report
@@ Coverage Diff @@
## master #1315 +/- ##
==========================================
+ Coverage 77.43% 77.47% +0.04%
==========================================
Files 279 279
Lines 36174 36301 +127
==========================================
+ Hits 28010 28125 +115
- Misses 7071 7082 +11
- Partials 1093 1094 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Closes #1314
Description
fun slice(from: Int, upTo: Int): [T]
to non-resource-kinded arrays (variable and constant-sized), similar to how it exists for stringsmaster
branchFiles changed
in the Github PR explorer