# How to Sensibly Implement Generic Slice Indexing for Custom Array Type

**URL:** <https://discourse.julialang.org/t/how-to-sensibly-implement-generic-slice-indexing-for-custom-array-type/109289>\
**Category:** General Usage\
**Tags:** question, gpu, performance, design\
**Created:** [January 26, 2024, 8:53am UTC](https://discourse.julialang.org/t/how-to-sensibly-implement-generic-slice-indexing-for-custom-array-type/109289 "2024-01-26T08:53:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AlexanderNenninger](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alexandernenninger/32/24602_2.png) [@AlexanderNenninger](https://discourse.julialang.org/u/AlexanderNenninger)\
**Post date:** [January 29, 2024, 8:38am UTC](https://discourse.julialang.org/t/how-to-sensibly-implement-generic-slice-indexing-for-custom-array-type/109289/4 "2024-01-29T08:38:01Z")

</div>

The underlying array doesn’t really exist. I am working on an accelerated version of this: [Function as Type Parameter - #6 by AlexanderNenninger](https://discourse.julialang.org/t/function-as-type-parameter/102378/6). Can’t post code due to IP contracts with my employer, but once I have the indices as arrays of numbers/tuples/Cartesian indices I can work with them.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-sensibly-implement-generic-slice-indexing-for-custom-array-type/109289)._
