On Tue, 22 Aug 2006 23:51:01 -0300 (ART)
Carlos Pita <[EMAIL PROTECTED]> wrote:


> Hi! I'm writting a real time sound synthesis framework where processing units 
> are interconnected via numpy arrays. These buffers are all the same size and 
> type, so it would be easy and convenient pooling them in order to avoid 
> excesive creation/destruction of arrays (consider that thousands of them are 
> acquired and released per second, but just a few dozens used at the same 
> time). But first I would like to know if numpy implements some pooling 
> mechanism by itself. 

I don't think so.

> Could you give me some insight on this? Also, is it possible to obtain an 
> uninitialized array?

numpy.empty

> I mean, sometimes I don't feel like wasting valuable cpu clocks filling 
> arrays with zeros, ones or whatever.
> Thank you in advance.
> Regards,
> Carlos

Sounds like fun.

Simon.

> 
> 
> 
>   
>               
> ---------------------------------
>  Preguntá. Respondé. Descubrí.
>  Todo lo que querías saber, y lo que ni imaginabas,
>  está en Yahoo! Respuestas (Beta).
>  Probalo ya! 


-- 
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to