Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

Vivek Bansal

Greenhorn
+ Follow
since Dec 15, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vivek Bansal

The nature of automatic garbage collection has an important consequence:
You can still get memory leaks. If you allow live, accessible references to
unneeded objects to persist in your programs, then those objects cannot be
garbage collected. Therefore, it may be a good idea to explicitly assign null into a variable when you have finished with it. This issue is particularly noticeable if you are implementing a collection of some kind.