# Need help on understanding type inference / performance

**URL:** <https://discourse.julialang.org/t/need-help-on-understanding-type-inference-performance/80600>\
**Category:** Performance\
**Tags:** question, inference\
**Created:** [May 6, 2022, 10:55am UTC](https://discourse.julialang.org/t/need-help-on-understanding-type-inference-performance/80600 "2022-05-06T10:55:04Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [May 7, 2022, 7:36am UTC](https://discourse.julialang.org/t/need-help-on-understanding-type-inference-performance/80600/10 "2022-05-07T07:36:35Z")

</div>

Thank you all for your help. It seems the reason is understood: Missing type-specialization is the reason.

I still struggle with how to enable this and created a more concrete, hopefully also clearer, follow up question: [How to mark a function argument for specialization on types while still staying as a generic argument?](https://discourse.julialang.org/t/how-to-mark-a-function-argument-for-specialization-on-types-while-still-staying-as-a-generic-argument/80652)

---

_[View the full topic](https://discourse.julialang.org/t/need-help-on-understanding-type-inference-performance/80600)._
