# Is there performance advantage of using intent(in) and intent(out)?

**URL:** https://fortran-lang.discourse.group/t/is-there-performance-advantage-of-using-intent-in-and-intent-out/1660
**Category:** Help
**Created:** [August 10, 2021, 4:24am UTC](https://fortran-lang.discourse.group/t/is-there-performance-advantage-of-using-intent-in-and-intent-out/1660 "2021-08-10T04:24:03Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)
#### Post date: [August 10, 2021, 12:16pm UTC](https://fortran-lang.discourse.group/t/is-there-performance-advantage-of-using-intent-in-and-intent-out/1660/11 "2021-08-10T12:16:28Z")

</div>

In a previous thread @ivanpribec [said](https://fortran-lang.discourse.group/t/on-the-creation-of-temporary-arrays-when-passing-type-element-arguments/1015/20)

> In the past I’ve added the `pure` specifier and `intent` attributes to a multiphase fluid simulation code ([AMR-LBM-OpenMP-2D](https://github.com/AbbasHub/AMR-LBM-OpenMP-2D)), and remember seeing a 20-25 % performance increase (I did perform some minor restructuring, but in no way did I modify the algorithm).

---

_[View the full topic](https://fortran-lang.discourse.group/t/is-there-performance-advantage-of-using-intent-in-and-intent-out/1660)._
