[PD-dev] memory allocation

Tim Blechmann TimBlechmann at gmx.net
Wed Aug 4 00:24:25 CEST 2004


hi miller, hi list,

i'm currently thinking about working on the memory allocation functions
of pd to make them realtime safe ...

miller: are you planing to work on that in the near future? if so, it
wouldn't be useful to reinvent the wheel twice ... if not, i'd start to
work on that ...

i thought about some kind of allocation function that allocates memory
in the background and assignes pieces of this memory using getbytes()
... a helper thread could allocate memory from the os and always have a
few mb as memory ... probably i would have to add a garbage collector
and stuff like that, too, but it seems to be an approach that _could_
work and make memory allocation a lot faster ...

and i'd like to know, what other people think of this idea, maybe i'm on
the wrong way ... 

cheers... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-dev mailing list