David Rorex schrieb:
my_var = null; and delete my_var; should do exactly the same thing...delete
doesn't actually delete the object, only the reference to the object. it
doesn't get removed from memory until later (when the GC feels like it)
Well, we observe different behaviour here:
After unlo
j.c.wichman schrieb:
Hi Roman,
You describe my_var =null as being useless, but this should be enough for
the garbage collector to come along and reclaim an object?
With respect to the static issue, what do you mean with 'static instances' ?
Could u provide an example of such an object with isn't
my_var = null; and delete my_var; should do exactly the same
thing...delete doesn't actually delete the object, only the reference
to the object. it doesn't get removed from memory until later
(when the GC feels like it)
Well, technically they do *slightly* different things, but usually with
TECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Roman
> Blöth
> Sent: Wednesday, February 01, 2006 6:09 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] "clearing" variables from memory after use...
>
> dls schrieb:
> > Might be counting ang
laimed?
Thanks,
Hans
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roman Blöth
Sent: Wednesday, February 01, 2006 6:09 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] "clearing" variables from memory after use...
dls schrieb:
> M
Thanks Roman!
I will make it a practice to start dumping the variables after I don't
need them!
--dan
Roman Blöth wrote:
dls schrieb:
Might be counting angels on a pin head here, but:
if I set alot ( think hundreds) of _global variables such as:
_global.state1 = Wisconsin;
I assume they
dls schrieb:
Might be counting angels on a pin head here, but:
if I set alot ( think hundreds) of _global variables such as:
_global.state1 = Wisconsin;
I assume they slow the performance of my player.
Is there a way to clear them after use?
(or more specifically, the ones I don't need -- I co
Might be counting angels on a pin head here, but:
if I set alot ( think hundreds) of _global variables such as:
_global.state1 = Wisconsin;
I assume they slow the performance of my player.
Is there a way to clear them after use?
(or more specifically, the ones I don't need -- I could figure out
8 matches
Mail list logo