# Dramatic performance change by adding additional unused method

**URL:** <https://discourse.julialang.org/t/dramatic-performance-change-by-adding-additional-unused-method/71771>\
**Category:** Performance\
**Created:** [November 19, 2021, 11:56am UTC](https://discourse.julialang.org/t/dramatic-performance-change-by-adding-additional-unused-method/71771 "2021-11-19T11:56:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [November 19, 2021, 12:40pm UTC](https://discourse.julialang.org/t/dramatic-performance-change-by-adding-additional-unused-method/71771/5 "2021-11-19T12:40:27Z")

</div>

> [@peremato](#):
>
> But in any case, why it works for 3 overloads and not for 4.

> <https://github.com/JuliaLang/julia/blob/96902377bde0b3e84c1319e0d5ad55039610d5ef/base/compiler/types.jl#L69>

---

_[View the full topic](https://discourse.julialang.org/t/dramatic-performance-change-by-adding-additional-unused-method/71771)._
