From: Simon B. <si...@ar...> - 2006-08-23 03:06:47
|
On Tue, 22 Aug 2006 23:51:01 -0300 (ART) Carlos Pita <car...@ya...> wrote: > Hi! I'm writting a real time sound synthesis framework where processing u= nits are interconnected via numpy arrays. These buffers are all the same si= ze and type, so it would be easy and convenient pooling them in order to av= oid excesive creation/destruction of arrays (consider that thousands of the= m are acquired and released per second, but just a few dozens used at the s= ame time). But first I would like to know if numpy implements some pooling = mechanism by itself.=20 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 a= rrays with zeros, ones or whatever. > Thank you in advance. > Regards, > Carlos Sounds like fun. Simon. >=20 >=20 >=20 > =20 > =09 > --------------------------------- > Pregunt=E1. Respond=E9. Descubr=ED. > Todo lo que quer=EDas saber, y lo que ni imaginabas, > est=E1 en Yahoo! Respuestas (Beta). > Probalo ya!=20 --=20 Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com=20 |