# Fastest way to 'switch' ownership of arraylist

**URL:** <https://ziggit.dev/t/fastest-way-to-switch-ownership-of-arraylist/9771>\
**Category:** Help\
**Tags:** language\
**Created:** [April 23, 2025, 1:07pm UTC](https://ziggit.dev/t/fastest-way-to-switch-ownership-of-arraylist/9771 "2025-04-23T13:07:25Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![ericlang](https://ziggit.dev/user_avatar/ziggit.dev/ericlang/32/8515_2.png) [@ericlang](https://ziggit.dev/u/ericlang)\
**Post date:** [April 23, 2025, 3:02pm UTC](https://ziggit.dev/t/fastest-way-to-switch-ownership-of-arraylist/9771/8 "2025-04-23T15:02:14Z")

</div>

Ok that makes sense somehow. And I like compact and small.

But theoretically you can append with different allocators to the same list, which will totally crash (i dare not try it).  
Isn’t that a complete mess (theoretically)?

Or am I competely missing something?

---

_[View the full topic](https://ziggit.dev/t/fastest-way-to-switch-ownership-of-arraylist/9771)._
