Skip to content

Switch winch's internal stack from a VecDeque to a Vec#7756

Merged
saulecabrera merged 1 commit into
bytecodealliance:mainfrom
elliottt:trevor/winch-stack-vec
Jan 5, 2024
Merged

Switch winch's internal stack from a VecDeque to a Vec#7756
saulecabrera merged 1 commit into
bytecodealliance:mainfrom
elliottt:trevor/winch-stack-vec

Conversation

@elliottt
Copy link
Copy Markdown
Member

@elliottt elliottt commented Jan 5, 2024

It doesn't look like which needs to modify the front of the VecDeque that it uses to model the value stack, and can instead use a Vec. This shouldn't change functionality at all, but seems nice for documentation purposes, as I initially assumed that there must be operations modifying the front of the stack given the use of VecDeque.

It doesn't look like which needs to modify the front of the `VecDeque`
that it uses to model the value stack, and can instead use a `Vec`.
@elliottt elliottt requested a review from a team as a code owner January 5, 2024 22:52
@elliottt elliottt requested review from abrown and saulecabrera and removed request for a team January 5, 2024 22:52
Copy link
Copy Markdown
Member

@saulecabrera saulecabrera left a comment

Choose a reason for hiding this comment

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

This looks reasonable to me, thanks!

@saulecabrera saulecabrera enabled auto-merge January 5, 2024 23:06
@saulecabrera saulecabrera added this pull request to the merge queue Jan 5, 2024
Merged via the queue into bytecodealliance:main with commit 7690c50 Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants