Can someone shed some light on Tony's comment on removing a dictionary entry?
"You should also open the removed objects and call erase() on each, after removing them."
balazsr asked what he meant but there was no reply.
Does simply removing the dictionary entry still leave something residual in the memory?
Just to be clear.
Contrary to what Tony was saying, erasing is unnecessary.
Tony's word was gospel a while back. This would have been a nice argument. 🙂
The purpose of erasing an object that has been removed from a dictionary is to ensure that a subsequent attempt to open it will fail because the object is effectively erased.
@SRSDS wrote:
Just to be clear.
Contrary to what Tony was saying, erasing is unnecessary.
Tony's word was gospel a while back. This would have been a nice argument. 🙂