Re: About speed
- From: "Bryce K. Nielsen" <bryce@xxxxxxxxxxx>
- Date: Sat, 24 Jun 2006 14:09:34 -0600
It's not knowing what's going on and odd, erratic behaviors that
occassionaly occur. If I'm handling memory, I know exactly what's
going on.
Right. In an environment that is designed for this.
Which is why a lot of us are hesitant to enjoy DotNet. Control was removed
from our hands and we just have to hope the blackbox known as GC always
works (which it doesn't).
If GC is doing it and giving me reused objects, I see
strange behavior from time to time.
The cause might be that you want to "take over" for, or interfere with
GC..
GC should handle all that for me, right? I shouldn't ever have to "take
over" (and I don't) and yet I still see strange annomylies.
Uh.. I think your are not supposed to "free" it when GC is around.
Why do you free it at all? If you don't free it but instead create a
new instance, does this new instance carry over old variable values? I
guess not!
Memory. Even with GC you still need to behave responsibly with your memory.
I use "using()" all the time (which "frees" it in Delphi-way-of-thinking,
Dispose() for you DotNetters) but even then I see strange behaviors from
time to time.
-BKN
.
- Follow-Ups:
- Re: About speed
- From: Joanna Carter [TeamB]
- Re: About speed
- From: Ingvar Nilsen
- Re: About speed
- References:
- About speed
- From: alavna
- Re: About speed
- From: Árpád Soós
- Re: About speed
- From: Oliver Townshend
- Re: About speed
- From: Don Strenczewilk
- Re: About speed
- From: Bryce K. Nielsen
- Re: About speed
- From: Craig Stuntz [TeamB]
- Re: About speed
- From: Bryce K. Nielsen
- Re: About speed
- From: Ingvar Nilsen
- Re: About speed
- From: Bryce K. Nielsen
- Re: About speed
- From: Ingvar Nilsen
- About speed
- Prev by Date: Re: About speed
- Next by Date: Re: About speed
- Previous by thread: Re: About speed
- Next by thread: Re: About speed
- Index(es):
Relevant Pages
|
|