# How to build complex data structures with working JIT cache?

**URL:** <https://numba.discourse.group/t/how-to-build-complex-data-structures-with-working-jit-cache/2824>\
**Category:** Support: How do I do ...?\
**Created:** [November 28, 2024, 11:57am UTC](https://numba.discourse.group/t/how-to-build-complex-data-structures-with-working-jit-cache/2824 "2024-11-28T11:57:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nelson2005](https://yyz2.discourse-cdn.com/free1/user_avatar/numba.discourse.group/nelson2005/32/47_2.png) [@nelson2005](https://numba.discourse.group/u/nelson2005)\
**Post date:** [November 29, 2024, 4:07pm UTC](https://numba.discourse.group/t/how-to-build-complex-data-structures-with-working-jit-cache/2824/2 "2024-11-29T16:07:04Z")

</div>

Jitclass cannot be [cached](https://numba.discourse.group/t/cache-jitted-function-with-jitclass-argument/780), use [structref](https://numba.readthedocs.io/en/stable/extending/high-level.html#defining-a-structref) instead.

---

_[View the full topic](https://numba.discourse.group/t/how-to-build-complex-data-structures-with-working-jit-cache/2824)._
