<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Agreed, "drip" is awful. I had one included and then removed it because I hated the name, and it's not that much to hook an iterator to a table reader (and you have the indices to work with in whatever way you need as well).</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Speaking of which, on my machine [array get] is faster than plain [tabread]. It can get lists of about 30 from an array about as fast as [tabread] can get single floats. Weird, but cool.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">M</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 5, 2015 at 1:39 PM, IOhannes m zmölnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/05/2015 05:39 PM, Christof Ressi wrote:<br>
> You're right that it's easy to implement as an abstraction but I was rather thinking about execution speed.<br>
> I guess a fictional object like [array drip] that would just iterate through the array using a C loop would be the fastest possible method.<br>
<br>
</span>yes.<br>
well no: the fastest possible way would probably be hand-optimized<br>
assembler.<br>
<span class=""><br>
> I don't see how you could even get close to that with abstractions, especially when using only vanilla objects.<br>
<br>
</span>i don't think that in practice this would matter though.<br>
an [array-drip]¹ implementation in Pd-vanilla should be O(n).<br>
an [array drip] implementation in C should be O(n).<br>
<br>
sure, the abstraction implementation will perform worse by a (constant)<br>
factor but the complexity stays the same which is the important part.<br>
<br>
i assume that the cases where you do need that extra speed boost are<br>
rather seldom, and do not warrant an extra built-in object.<br>
<br>
<br>
gfamrds<br>
IOhannes<br>
<br>
¹ it always causes me pain to see the name "drip" used so widely.<br>
<br>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>