<div dir="ltr">Thanks Christof. I will take a look at signumd!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 24, 2021 at 9:04 AM Christof Ressi <<a href="mailto:info@christofressi.com">info@christofressi.com</a>> 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">
<div>
<p>Usually, we would use flags, e.g. in your case something like
"-heap <float>".</p>
<p>[sigmund~] object, for example, takes a few flag arguments. You
can take it as a reference point.<br>
</p>
<p>Christof<br>
</p>
<div>On 24.09.2021 17:33, Iain Duncan wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi folks, I want to add an optional argument for
object creation time to Scheme for Pd to allow setting the
starting heap size, which can dramatically lower garbage
collector times. In Scheme for Max 0.3 I added theĀ @heap attr.
I'm not sure what the normal way to do this kind of thing is in
Pd. The catch is that this arg needs to be optional (beginners
shouldn't have to worry about it) and needs to be set at object
creation time because you can't change the starting heap size
after creating the s7 interpreter. So I'm somewhat reluctant to
just add a 3rd integer arg. Suggestions welcome!
<div>
<div><br>
</div>
<div>thanks!</div>
</div>
<div>iain</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Pd-dev mailing list
<a href="mailto:Pd-dev@lists.iem.at" target="_blank">Pd-dev@lists.iem.at</a>
<a href="https://lists.puredata.info/listinfo/pd-dev" target="_blank">https://lists.puredata.info/listinfo/pd-dev</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
Pd-dev mailing list<br>
<a href="mailto:Pd-dev@lists.iem.at" target="_blank">Pd-dev@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/pd-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-dev</a><br>
</blockquote></div>