----- Original Message -----
> From: Mathieu Bouchard <[email protected]>
> To: Dan Wilcox <[email protected]>
> Cc: PD List <[email protected]>
> Sent: Monday, August 29, 2011 12:54 AM
> Subject: Re: [PD] sending image from of / libpd
> 
> On Mon, 29 Aug 2011, Dan Wilcox wrote:
> 
>>  I was talking about sending a large list through libpd which, I assume, is 
> doing some sort of copying of floats as it translates from the libpd api to 
> the 
> internal pd api.
> 
> Oh, yeah... if you use z_libpd.h, it copies the floats, whereas with m_pd.h, 
> you 
> have the option to have your data as atoms in the first place, so that they 
> don't have to be copied.
> 
>>  Besides, isn't there some sort of limit on the length of lists or does 
> libpd handle this for you?
> 
> With z_libpd.h, you have an artificial limit of 32 atoms per message

I must be misunderstanding what you've written, because it would break
trivial patches:

[osc~ 440]
|
| [bang(
|/
[print~]

> whereas 
> with m_pd.h, there's no formal limit ; in practice the OS will limit you to 
> something like 1000000 atoms on the stack at once, for example. On 32-bit 
> Linux, 
> the limit can be as high as 8000000 atoms (64 megs) but I don't remember 
> what the default limits are.
> 
> _______________________________________________________________________
> | Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
> 
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to