Skip to content

Minor style/bloat improvement - #573

Closed
bolshoytoster wants to merge 1 commit into
servo:v1from
bolshoytoster:v1
Closed

Minor style/bloat improvement#573
bolshoytoster wants to merge 1 commit into
servo:v1from
bolshoytoster:v1

Conversation

@bolshoytoster

Copy link
Copy Markdown
Contributor

Mentioned in #557.

This makes some repeated code more concise and (on debug) lowers bloat from push by ~152 bytes (I haven't measured insert) and adds a very slight (0.1%) speed improvement to expanding a vec.

There is no effect in release builds.

@bolshoytoster

Copy link
Copy Markdown
Contributor Author

Nevermind, it looks like the MSRV doesn't support this syntax.

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.

1 participant