seems like it would fit better on this mailing-list.

---------- Forwarded message ----------
Date: Wed, 25 Feb 2009 11:38:27 -0500 (EST)
From: Mathieu Bouchard <ma...@artengine.ca>
To: Frank Barknecht <f...@footils.org>
Cc: pd-...@iem.at
Subject: [PD-dev] extremely fast pure pd [list-drip]

On Wed, 25 Feb 2009, Frank Barknecht wrote:

such a standard library would define an *interface* for standard
objects. Where performance is an issue, the interface could alternatively
implemented with externals. This also is exemplified in [list]-abs,
where personally I use a version of [list-drip] that has zexy's [drip]
inside for speed reasons. It behaves exactly like the abstraction
version so it doesn't matter if people don't have zexy installed.

i just made a pure-pd [list-drip] that is much much quicker for large lists than your pure pd [list-drip].

For a list of size 32768, I find it to be at least 250 times faster.

For a list of size 4096, it's at least 24 times faster.

See attachment.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
#N canvas 0 0 450 300 10;
#X obj 33 54 t a a;
#X obj 33 111 spigot;
#X obj 72 73 bang;
#X obj 72 92 1;
#X obj 160 54 route bang;
#X obj 151 73 bang;
#X obj 151 92 0;
#X obj 72 54 list split 2;
#X obj 71 178 list split;
#X obj 100 130 list length;
#X obj 100 149 >> 1;
#X obj 33 130 t a a a a;
#X obj 33 266 list split;
#X obj 52 202 list length;
#X obj 52 221 >> 1;
#X obj 33 19 inlet;
#X obj 234 54 outlet;
#X text 75 19 Copyright 2009 by Mathieu Bouchard;
#X connect 0 0 1 0;
#X connect 0 1 7 0;
#X connect 1 0 11 0;
#X connect 2 0 3 0;
#X connect 3 0 1 1;
#X connect 4 1 16 0;
#X connect 5 0 6 0;
#X connect 6 0 1 1;
#X connect 7 0 2 0;
#X connect 7 2 4 0;
#X connect 7 2 5 0;
#X connect 8 0 0 0;
#X connect 9 0 10 0;
#X connect 10 0 8 1;
#X connect 11 0 12 0;
#X connect 11 1 13 0;
#X connect 11 2 8 0;
#X connect 11 3 9 0;
#X connect 12 1 0 0;
#X connect 13 0 14 0;
#X connect 14 0 12 1;
#X connect 15 0 0 0;
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to