# Function, constants, globals

**URL:** <https://discourse.julialang.org/t/function-constants-globals/48744>\
**Category:** General Usage\
**Tags:** question, constants\
**Created:** [October 21, 2020, 12:39pm UTC](https://discourse.julialang.org/t/function-constants-globals/48744 "2020-10-21T12:39:37Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [October 23, 2020, 7:02pm UTC](https://discourse.julialang.org/t/function-constants-globals/48744/21 "2020-10-23T19:02:20Z")

</div>

If your function has as input arguments those constants (declared as constants or any other way) they will be performant. What you have to avoid is having parameters inside your function which are global variables.

[Previous page](https://discourse.julialang.org/t/function-constants-globals/48744.md?page=1)
