[PD-dev] string external & usage count

joerg piringer joerg at piringer.net
Wed Oct 13 20:05:25 CEST 2004


guenter geiger wrote:

 > On Wed, 13 Oct 2004, joerg piringer wrote:
 >
 >> when a string is generated (each operation that returns a string
 >> generates a new string) the usage count is set to one and when an object
 >> receives a string at one of its inlets the usage count is reduced. if
 >> the usage count is zero the string mem is freed.
 >
 >
 >
 > Why can't you just free the string after it has been sent ?
 > AFAIK the  outlet_* functions execute the methods of the connected
 > objects immediately.


ah. interesting.
but what happens if i want to store the string in a list, or use a 
builtin pd object?

joerg


-- 
http://joerg.piringer.net
http://www.transacoustic-research.com
http://www.iftaf.org
http://www.vegetableorchester.org




More information about the Pd-dev mailing list