-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[stdlib] Make Slice
step Optional
#3160
Conversation
Slice
step OptionalReg
Slice
step OptionalReg
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.
@ConnorGray or @rparolin - do you mind checking the perf impact of this, please?
3250ae9
to
0d9348d
Compare
Let's hold off on this for a bit since @lattner has a PR up internally to change |
|
0d9348d
to
6ee674f
Compare
Slice
step OptionalReg
Slice
step Optional
cb01789
to
1c574ae
Compare
f55b116
to
63b294f
Compare
6fd634b
to
f9fcaeb
Compare
7d24a10
to
651e5fe
Compare
208dbbd
to
9399dc4
Compare
9399dc4
to
e5887da
Compare
Hey @bgreni, what's the benefit of making |
Signed-off-by: Brian Grenier <[email protected]>
e5887da
to
bd5047a
Compare
!sync |
✅🟣 This contribution has been merged 🟣✅ Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours. We use Copybara to merge external contributions, click here to learn more. |
Landed in 630f621! Thank you for your contribution 🎉 |
Follow up from #3064 (comment) Make `step` member of `Slice` `Optional` in order to better match the behaviour/semantics of the Python slice. Co-authored-by: bgreni <[email protected]> Closes #3160 MODULAR_ORIG_COMMIT_REV_ID: dcfe50395856e038b64deb6d88e8d68a69edeae4
Follow up from #3064 (comment) Make `step` member of `Slice` `Optional` in order to better match the behaviour/semantics of the Python slice. Co-authored-by: bgreni <[email protected]> Closes #3160 MODULAR_ORIG_COMMIT_REV_ID: dcfe50395856e038b64deb6d88e8d68a69edeae4
Follow up from #3064 (comment)
Make
step
member ofSlice
Optional
in order to better match the behaviour/semantics of the Python slice.