# Avoiding Repeated Function Compilation

**URL:** <https://discourse.julialang.org/t/avoiding-repeated-function-compilation/22379>\
**Category:** General Usage\
**Tags:** precompilation\
**Created:** [March 26, 2019, 9:33pm UTC](https://discourse.julialang.org/t/avoiding-repeated-function-compilation/22379 "2019-03-26T21:33:21Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [March 28, 2019, 3:03pm UTC](https://discourse.julialang.org/t/avoiding-repeated-function-compilation/22379/12 "2019-03-28T15:03:13Z")

</div>

You may want to check out `PackageCompiler`, which allows fully ahead-of-time compilation of Julia code: [[ANN] PackageCompiler.jl](https://discourse.julialang.org/t/ann-packagecompiler-jl/8154) It’s still pretty new, but when it works it should allow you to compile your package exactly once, rather than every time.

---

_[View the full topic](https://discourse.julialang.org/t/avoiding-repeated-function-compilation/22379)._
