Skip to content

Conversation

inteon
Copy link
Contributor

@inteon inteon commented Jan 9, 2022

Reuse full vector capacity when reusing buffers.
PR also includes some other cleanups.

@inteon inteon changed the title Path buffer size Path buffer reuse Jan 9, 2022
Copy link
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

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

Nice, I'm a fan of cleanup patches!

Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
@sunfishcode sunfishcode merged commit eed16ae into bytecodealliance:main Jan 10, 2022
@sunfishcode
Copy link
Member

Looks great, thanks!

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Feb 6, 2022
Cleanup c_str.rs

Some code cleanups in `c_str.rs`.
No functional changes.

ref: bytecodealliance/rustix#163
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Feb 7, 2022
Cleanup c_str.rs

Some code cleanups in `c_str.rs`.
No functional changes.

ref: bytecodealliance/rustix#163
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Feb 7, 2022
Cleanup c_str.rs

Some code cleanups in `c_str.rs`.
No functional changes.

ref: bytecodealliance/rustix#163
m-ou-se added a commit to m-ou-se/rust that referenced this pull request Feb 7, 2022
Cleanup c_str.rs

Some code cleanups in `c_str.rs`.
No functional changes.

ref: bytecodealliance/rustix#163
m-ou-se added a commit to m-ou-se/rust that referenced this pull request Feb 7, 2022
Cleanup c_str.rs

Some code cleanups in `c_str.rs`.
No functional changes.

ref: bytecodealliance/rustix#163
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