# Question about @inline

**URL:** <https://discourse.julialang.org/t/question-about-inline/21717>\
**Category:** General Usage\
**Tags:** performance\
**Created:** [March 10, 2019, 9:37pm UTC](https://discourse.julialang.org/t/question-about-inline/21717 "2019-03-10T21:37:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vitreo12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vitreo12/32/4028_2.png) [@vitreo12](https://discourse.julialang.org/u/vitreo12)\
**Post date:** [March 10, 2019, 9:37pm UTC](https://discourse.julialang.org/t/question-about-inline/21717/1 "2019-03-10T21:37:02Z")

</div>

Hello everyone,  
I have a question regarding `@inline`: Does it propagate on all function calls inside the function that is being inlined? For example:

```julia
function compute_something(a::Float64)
   #= Some calculation and, perhaps,
   calls to other functions aswell =#
end

@inline function inlined_function()
   compute_something(0.5)
end

```

In this case, would the inlining be applied to all the function calls that happen in `inlined_function` (and, also, function calls that happen within function calls… etc…), resulting in a single big inlined function?  
If that’s not the case, is there a way to achieve this? Perhaps with a `@propagate_inline` macro?
