# Motoko Best Practice- Zeroize a Mutable Array or Initialize a New One?

**URL:** <https://forum.dfinity.org/t/motoko-best-practice-zeroize-a-mutable-array-or-initialize-a-new-one/22165>\
**Category:** Motoko\
**Created:** [August 15, 2023, 5:28pm UTC](https://forum.dfinity.org/t/motoko-best-practice-zeroize-a-mutable-array-or-initialize-a-new-one/22165 "2023-08-15T17:28:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [August 16, 2023, 12:34pm UTC](https://forum.dfinity.org/t/motoko-best-practice-zeroize-a-mutable-array-or-initialize-a-new-one/22165/4 "2023-08-16T12:34:27Z")

</div>

I don’t think from\_candid is async…it is just a system function.

I was just making the(likely false assumption) that you were trying to compact the data somehow.

If it is just that you need binary, you may find some good stuff in [Completed: ICDevs.org - Bounty 24 - StableBtree Mokoko - up to $10k](https://forum.dfinity.org/t/completed-icdevs-org-bounty-24-stablebtree-mokoko-up-to-10k/14867). Also, check with @matthewhammer as he has an whole new stable region syntax ready for motoko.

---

_[View the full topic](https://forum.dfinity.org/t/motoko-best-practice-zeroize-a-mutable-array-or-initialize-a-new-one/22165)._
