[PD-dev] strings

Martin Peach martin.peach at sympatico.ca
Sun Dec 17 21:46:50 CET 2006


Bryan Jurish wrote:
> On 2006-12-17 03:09:19, Martin Peach <martin.peach at sympatico.ca> 
> appears to have written:
>> A string could be considered unused when its length is set to 0. 
>> Memory would need to be dynamically allocated in small blocks. The 
>> API should return "no method for string" if the external doesn't 
>> implement strings.
>
> ... which wouldn't get us true strings in the mathematical sense of a 
> free monoid <Alphabet,concat()>, since the empty string is the 
> identity element for concat()...
>
Yes, I agree there should be no restriction on empty strings. I also 
think there is no need to destroy strings except when the patcher is 
closed, so it's not really an issue.

Martin





More information about the Pd-dev mailing list