Add #[inline] attribute to the inner functions
#596
Merged
#[inline] attribute to the inner functions
#596