Hello,<div><br></div><div>Good question indeed. This is a general improvement. Sorry for not explaining it in the first place, this is my first post and patch on the pd-dev ml.</div><div><br></div><div>--</div><div>Lta</div>
<div><br><div class="gmail_quote">On Fri, Dec 10, 2010 at 5:01 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
My first question is: what&#39;s the problem that you are trying to solve?  Are there specific bugs, or just a general improvement?<br>
<br>
.hc<div><div></div><div class="h5"><br>
<br>
On Dec 10, 2010, at 8:50 AM, Julien &#39;Lta&#39; BALLET wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hello,<br>
<br>
As said in the title, i submit you a small patch to mrpeach&#39;s osc code, to replace calls to getbytes by alloca calls in part of the code that might get called in the soundcard callback.<br>
<br>
The considered memory sizes are quites small and then won&#39;t smash the stack. This removes the need for memory deallocation and reduces the page fault risk as well as the memory allocation time.<br>
<br>
This is kind of a naive patch, since i don&#39;t fully know yet the pd codebase.<br>
<br>
Any comment would be appreciated.<br>
<br>
Regards,<br>
Lta.<br></div></div>
_______________________________________________<br>
Pd-dev mailing list<br>
<a href="mailto:Pd-dev@iem.at" target="_blank">Pd-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
</blockquote>
<br>
<br>
<br>
----------------------------------------------------------------------------<br>
<br>
Computer science is no more related to the computer than astronomy is related to the telescope.      -Edsger Dykstra<br>
<br>
<br>
</blockquote></div><br></div>