<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[is there a maximum list length or message size?]]></title><description><![CDATA[<p>hi,<br />
Recently someone posted something over on the Pd list that had this question inside part of a bigger question.  I was interested in it but it didn't seem to get an answer so I thought I would try here...I know that Max has limits for list length but I was wondering if in Pd there is a maximum number of elements that can be listed?<br />
Likewise are the maximum limits to what can go into a message box?<br />
What about an array?</p>
<p>I am sure someone has asked this before but I did not see any results when I searched for it.<br />
thanks in advance!<br />
jorge</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 09:16:42 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13643.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Sep 2021 17:16:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to is there a maximum list length or message size? on Mon, 20 Sep 2021 17:16:00 GMT]]></title><description><![CDATA[<p>hi,<br />
Recently someone posted something over on the Pd list that had this question inside part of a bigger question.  I was interested in it but it didn't seem to get an answer so I thought I would try here...I know that Max has limits for list length but I was wondering if in Pd there is a maximum number of elements that can be listed?<br />
Likewise are the maximum limits to what can go into a message box?<br />
What about an array?</p>
<p>I am sure someone has asked this before but I did not see any results when I searched for it.<br />
thanks in advance!<br />
jorge</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size</guid><dc:creator><![CDATA[Coalman]]></dc:creator><pubDate>Mon, 20 Sep 2021 17:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to is there a maximum list length or message size? on Mon, 20 Sep 2021 19:11:44 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/coalman">@Coalman</a> In 64-bit Pd........ <a href="/uploads/files/1632163786426-list_test.pd">list_test.pd</a><br />
<img src="/uploads/files/1632163627228-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
<p>I remember Arrays were limited to 4 million elements by [soundfiler] in 32-bit Pd but that could be increased, although it would cause problems with single precision floats...... <a href="https://forum.pdpatchrepo.info/topic/3260/long-soundfiles-in-pd/10" rel="nofollow">https://forum.pdpatchrepo.info/topic/3260/long-soundfiles-in-pd/10</a><br />
For 64-bit Pd an array can be bigger.... about 2 billion elements........ see your Pd/doc/1.manual/x5.htm and scroll down to Pd 0.49.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Mon, 20 Sep 2021 19:11:44 GMT</pubDate></item><item><title><![CDATA[Reply to is there a maximum list length or message size? on Mon, 20 Sep 2021 19:37:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/coalman">@Coalman</a> If the list/messages is made up of symbols it will slow things down when that list gets long, but this is more a fault of symbols than lists. If the list is floats/integers you probably will want to switch to arrays when they start getting larger just because arrays are faster since some of the list objects rely on iterating the entire list, when you use [list prepend/append] it iterates through the entire list to append or prepend the new items, in array it just adds them on. The new methods for [list store] coming out in pd 0.52 will probably lessen the difference between lists and arrays and even make lists faster for some things, but I think arrays are still generally faster. For a list of symbols I believe how big you can get is dependent upon processor speed but there is no limit, you just need to realize that a patch which works fine on one computer might be slow on a less powerful computer.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/3</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Mon, 20 Sep 2021 19:37:59 GMT</pubDate></item><item><title><![CDATA[Reply to is there a maximum list length or message size? on Mon, 20 Sep 2021 20:25:20 GMT]]></title><description><![CDATA[<p>also if the list size is &lt; 100 the elements are allocated on the stack rather than the heap (which is faster). There's no limit on the length except for available RAM though.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/4</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Mon, 20 Sep 2021 20:25:20 GMT</pubDate></item><item><title><![CDATA[Reply to is there a maximum list length or message size? on Tue, 21 Sep 2021 07:39:59 GMT]]></title><description><![CDATA[<p>Thanks everyone!<br />
Great and informative answers!<br />
Jorge</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13643/is-there-a-maximum-list-length-or-message-size/5</guid><dc:creator><![CDATA[Coalman]]></dc:creator><pubDate>Tue, 21 Sep 2021 07:39:59 GMT</pubDate></item></channel></rss>