Skip to content

perf: remove cold annotations from non_singleton methods - #105

Open
panstromek wants to merge 1 commit into
mozilla:mainfrom
panstromek:no-cold-non-singleton
Open

panstromek wants to merge 1 commit into
mozilla:mainfrom
panstromek:no-cold-non-singleton

Conversation

@panstromek

Copy link
Copy Markdown
Contributor

In a recent perf run in rust-lang/rust#166946 (comment), we found out that these annotations are not good for compiler performance anymore. This is probably because we use ThinVec in a lot of places where it's very often not empty, so the base assumption behind those is not true anymore.

Those annotations were added in #34

I didn't want to introduce too much diff noise just for this, so I kept the outlined functions around.

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