Re: [NTLK] Glad for MAD!

From: Eckhart Koeppen (eck1000_at_gmx.net)
Date: Thu Mar 07 2002 - 16:38:43 EST


Jon Glass wrote:
> on 3/7/02 1:30 AM, Jeremy Bond Shepherd at jbond_at_eskimo.com wrote:
> That would merely be Newton's automatic garbage collection, wouldn't
> it? I don't think this would be avoidable.

You can try to keep the number of objects being created and destroyed at
a minimum by pre-allocating most of the objects you need. As an example,
MAD Newton creates a new sound frame object every second, a better way
would be to reuse existing objects.

Eckhart

-- 
                   -- eck_at_40hz.org -- www.40hz.org --

-- Have you checked the FAQ lately? http://www.guns-media.com/mirrors/newton/faq/ This is the NewtonTalk mailing list - http://www.newtontalk.net To unsubscribe/manage: visit the above link. Questions: victor_at_newtontalk.net



This archive was generated by hypermail 2.1.2 : Tue Apr 02 2002 - 14:02:22 EST