Skip to content

Add #[inline] to all function generated by #[derive]#40

Merged
bors[bot] merged 2 commits into
rust-num:masterfrom
Amanieu:inline
Aug 24, 2020
Merged

Add #[inline] to all function generated by #[derive]#40
bors[bot] merged 2 commits into
rust-num:masterfrom
Amanieu:inline

Conversation

@Amanieu

@Amanieu Amanieu commented Aug 20, 2020

Copy link
Copy Markdown
Contributor

These functions are all either very small (newtype wrappers) or get optimized down to a transmute LLVM. There is no reason for them not to be inlined.

Fixes #33

@cuviper

cuviper commented Aug 24, 2020

Copy link
Copy Markdown
Member

Thanks! I'll go ahead and publish a release from here.

bors r+

@bors

bors Bot commented Aug 24, 2020

Copy link
Copy Markdown
Contributor

@bors bors Bot merged commit 2d19853 into rust-num:master Aug 24, 2020
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.

Provide optional inline hint

2 participants