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 Vec #1118

Merged
merged 39 commits into from
Jun 17, 2022
Merged

stdlib Vec #1118

merged 39 commits into from
Jun 17, 2022

Conversation

adlerjohn
Copy link
Contributor

@adlerjohn adlerjohn commented Mar 31, 2022

@adlerjohn adlerjohn added enhancement New feature or request lib: std Standard library labels Mar 31, 2022
@adlerjohn adlerjohn self-assigned this Mar 31, 2022
Copy link
Contributor

@mitchmindtree mitchmindtree left a comment

Choose a reason for hiding this comment

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

Ahh just noticed this is a draft! Leaving the comment anyway just in case

sway-lib-std/src/vec.sw Outdated Show resolved Hide resolved
Copy link
Contributor

@Braqzen Braqzen left a comment

Choose a reason for hiding this comment

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

Just nitpicks

sway-lib-std/src/alloc.sw Outdated Show resolved Hide resolved
sway-lib-std/src/vec.sw Show resolved Hide resolved
sway-lib-std/src/vec.sw Show resolved Hide resolved
sway-lib-std/src/vec.sw Show resolved Hide resolved
sway-lib-std/src/vec.sw Outdated Show resolved Hide resolved
@adlerjohn
Copy link
Contributor Author

adlerjohn commented Jun 16, 2022

Blocked by #2013. @mohammadfawaz maybe re-target this PR on top of #2013? Or just wait I guess, since it's already approved.

sway-lib-std/src/vec.sw Outdated Show resolved Hide resolved
sway-lib-std/src/vec.sw Outdated Show resolved Hide resolved
sway-lib-std/src/vec.sw Show resolved Hide resolved
Copy link
Contributor Author

@adlerjohn adlerjohn left a comment

Choose a reason for hiding this comment

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

lgtm, but can't approve since I'm the OP. @AlicanC's memory functions are a beauty. Can't believe this is now implementable without a single line of asm.

@AlicanC AlicanC self-requested a review June 16, 2022 21:33
Copy link
Contributor

@sezna sezna left a comment

Choose a reason for hiding this comment

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

the tests give me much faith

@mohammadfawaz
Copy link
Contributor

I will wait for @otrho to also take a look as the current code owner of the standard library.

@emilyaherbert emilyaherbert self-requested a review June 16, 2022 23:08
Copy link
Contributor

@emilyaherbert emilyaherbert left a comment

Choose a reason for hiding this comment

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

🎉

@adlerjohn adlerjohn merged commit 422c9ca into master Jun 17, 2022
@adlerjohn adlerjohn deleted the adlerjohn/stdlib-vec branch June 17, 2022 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lib: std Standard library
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Proposal to add equivalent of the Vec type
8 participants