I am working on an application where my storage will grow and grow. I could delete data as I go, but I dont see any incentive to do so. Is there something I'm overlooking?
Specifically talking about arrays, enumerableSets, and mappings
I am working on an application where my storage will grow and grow. I could delete data as I go, but I dont see any incentive to do so. Is there something I'm overlooking?
Specifically talking about arrays, enumerableSets, and mappings
Deleting items with the delete keyword gives a gas refund, so there is a good incentive to do memory cleanup.
Relevant posts: