Skip to content
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] Add String __add__ with StringSlice and StringLiteral & optimize to not use List.resize() #3591

Closed

Conversation

martinvuyk
Copy link
Contributor

@martinvuyk martinvuyk commented Oct 2, 2024

Add String __add__ with StringSlice and StringLiteral & optimize to not use List.resize()

@martinvuyk martinvuyk requested a review from a team as a code owner October 2, 2024 13:32
martinvuyk added a commit to martinvuyk/mojo that referenced this pull request Oct 3, 2024
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
@martinvuyk martinvuyk changed the title [stdlib] Add String __add__ with StringSlice and optimize to not use List.resize() [stdlib] Add String __add__ with StringSlice and StringLiteral & optimize to not use List.resize() Oct 3, 2024
@martinvuyk martinvuyk requested review from jackos and a team as code owners October 6, 2024 19:56
…t.resize

Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Copy link
Collaborator

@JoeLoser JoeLoser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once conflicts are addressed and then I can sync it. Thanks!

Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
@martinvuyk
Copy link
Contributor Author

@JoeLoser fixed :)

@JoeLoser
Copy link
Collaborator

!sync

@modularbot modularbot added the imported-internally Signals that a given pull request has been imported internally. label Oct 14, 2024
@modularbot
Copy link
Collaborator

✅🟣 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.

@modularbot modularbot added the merged-internally Indicates that this pull request has been merged internally label Oct 14, 2024
@modularbot
Copy link
Collaborator

Landed in 8cbfb43! Thank you for your contribution 🎉

@modularbot modularbot added the merged-externally Merged externally in public mojo repo label Oct 16, 2024
modularbot added a commit that referenced this pull request Oct 16, 2024
…ringLiteral` & optimize to not use `List.resize()` (#49071)

[External] [stdlib] Add `String` `__add__` with `StringSlice` and
`StringLiteral` & optimize to not use `List.resize()`

Add `String` `__add__` with `StringSlice` and `StringLiteral` & optimize
to not use `List.resize()`

ORIGINAL_AUTHOR=martinvuyk
<110240700+martinvuyk@users.noreply.github.com>
PUBLIC_PR_LINK=#3591

Co-authored-by: martinvuyk <110240700+martinvuyk@users.noreply.github.com>
Closes #3591
MODULAR_ORIG_COMMIT_REV_ID: a01834b1eb829ffaa3e5bda5bd3fee05b3513774
@modularbot modularbot closed this Oct 16, 2024
@martinvuyk martinvuyk deleted the add-string-stringslice-add branch October 16, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported-internally Signals that a given pull request has been imported internally. merged-externally Merged externally in public mojo repo merged-internally Indicates that this pull request has been merged internally
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants