# Directly modify compiled method without recompilation

**URL:** <https://discourse.julialang.org/t/directly-modify-compiled-method-without-recompilation/86564>\
**Category:** Performance\
**Tags:** compilation\
**Created:** [August 30, 2022, 5:45pm UTC](https://discourse.julialang.org/t/directly-modify-compiled-method-without-recompilation/86564 "2022-08-30T17:45:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![marius311](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marius311/32/3953_2.png) [@marius311](https://discourse.julialang.org/u/marius311)\
**Post date:** [August 30, 2022, 6:52pm UTC](https://discourse.julialang.org/t/directly-modify-compiled-method-without-recompilation/86564/4 "2022-08-30T18:52:10Z")

</div>

This might be useful: [https://discourse.julialang.org/t/meta-programming-an-if-else-statement-of-user-defined-length/](https://discourse.julialang.org/t/meta-programming-an-if-else-statement-of-user-defined-length/) (also seeing what the package linked in the top post there ended up doing, not sure if its the same as the solution to that post)

---

_[View the full topic](https://discourse.julialang.org/t/directly-modify-compiled-method-without-recompilation/86564)._
