# Nested functions with  SubArray argument

**URL:** <https://discourse.julialang.org/t/nested-functions-with-subarray-argument/10502>\
**Category:** Performance\
**Created:** [April 24, 2018, 8:45am UTC](https://discourse.julialang.org/t/nested-functions-with-subarray-argument/10502 "2018-04-24T08:45:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [April 24, 2018, 12:26pm UTC](https://discourse.julialang.org/t/nested-functions-with-subarray-argument/10502/4 "2018-04-24T12:26:58Z")

</div>

GFlops=18.65671641791045 (shift2D\_1D! with @inline before shift1D!)  
GFlops=16.99556226985176 (shift2DLoop!)  
GFlops=17.584135202461777 (shift2DNative!)

---

_[View the full topic](https://discourse.julialang.org/t/nested-functions-with-subarray-argument/10502)._
