# itk::NeighborhoodRange: a new class for efficient modern C++ style iteration

**URL:** <https://discourse.itk.org/t/itk-neighborhoodrange-a-new-class-for-efficient-modern-c-style-iteration/833>\
**Category:** Engineering\
**Created:** [April 10, 2018, 7:37pm UTC](https://discourse.itk.org/t/itk-neighborhoodrange-a-new-class-for-efficient-modern-c-style-iteration/833 "2018-04-10T19:37:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Niels\_Dekker](https://discourse.itk.org/letter_avatar_proxy/v4/letter/n/9d8465/32.png) [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Post date:** [April 13, 2018, 3:16pm UTC](https://discourse.itk.org/t/itk-neighborhoodrange-a-new-class-for-efficient-modern-c-style-iteration/833/7 "2018-04-13T15:16:17Z")

</div>

@phcerdan Thanks for your reply! I just pushed a new version of NeighborhoodRange onto Gerrit, with added support for arbitrarily shaped neighborhoods: Patch Set 8, [http://review.source.kitware.com/#/c/23326/8](http://review.source.kitware.com/#/c/23326/8)

Is it possible for you to try out the patch? If so, can you please do the same performance test again, from [Removal of `virtual` keywords from ConstNeighborhoodIterator](https://discourse.itk.org/t/removal-of-virtual-keywords-from-constneighborhooditerator/814/5) ?

---

_[View the full topic](https://discourse.itk.org/t/itk-neighborhoodrange-a-new-class-for-efficient-modern-c-style-iteration/833)._
