Miscellaneous inlining improvements
Inline a few small and hot functions.
This commit is contained in:
parent
cecdb181ad
commit
481e1fd3a8
12 changed files with 52 additions and 8 deletions
|
@ -111,6 +111,7 @@ macro_rules! newtype_index {
|
|||
}
|
||||
|
||||
impl Clone for $type {
|
||||
#[inline]
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue