<div dir="ltr">Thanks Bill. So for creating a new hash-table, is there anything wrong with doing the following, given that the call to max_atom_to_s7_obj is recursive and could be making objects for a long time, if the Max dict is very deep:<div><br></div><div>    // turn off the GC in case the object tree we are making is very big<br>    s7_gc_on(s7, false);<br>    // max_atom_to_s7_obj will recurse for nested dicts and arrays, top level will be a hash-table<br>    s7_value = max_atom_to_s7_obj(s7, ap); <br>    s7_gc_on(s7, true);</div><div><br></div><div>thanks again!</div><div>iain<br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 8, 2020 at 11:48 AM &lt;<a href="mailto:bil@ccrma.stanford.edu">bil@ccrma.stanford.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; So in the case of creating a new hash-table, I guess it will not be <br>
&gt; protected?<br>
<br>
That is correct.<br>
<br>
</blockquote></div>