[PD] simple message/list parsing

Thomas Grill gr at grrrr.org
Tue Sep 18 22:22:25 CEST 2007


Am 18.09.2007 um 21:34 schrieb Mathieu Bouchard:

> On Tue, 18 Sep 2007, Ken Restivo wrote:
>
>> Install the python external, and make a simple extraction that  
>> does this?
>>
>> 	[ x for x in set1 if x in set2 ]
>
> Install the ruby external, and make a simple external that does this?
>
> 	set1 & set2
>
> and does it all in linear time too, instead of (presumably) quadratic.

it's the exact same syntax for Python (starting with version 2.4)

greetings, Thomas






More information about the Pd-list mailing list