Should I delete the table with:
table = {}
or
table = nil
??? Which is more memory efficient/faster?
Should I delete the table with:
table = {}
or
table = nil
??? Which is more memory efficient/faster?
If you’re not going to be needing the table anymore, declaring it to nil will be more efficient.
table = nil