Nov-10-2016, 10:26 PM
Yes, the tuple that was originally assigned to "new" will be eventually garbage collected once you assign a new value to "new". "blockClass" will never be garbage collected, because there's now a new reference to it replacing the old reference.
...I say eventually, because the garbage collector rarely does things as soon as it possibly can. It waits a bit, and then removes things in waves.
...I say eventually, because the garbage collector rarely does things as soon as it possibly can. It waits a bit, and then removes things in waves.