Sorry if my english is too poor,i will try my best to describe my question.
So i made a factory pattern contract and deployed child contracts successfully.
I used "new contract" and "array[].push" to make that happen,then i realized this only can create a new child contract.
Now i want to re-use every child contract that is created before to save gas because all i need to change about child contracts are the parameters.
So i tried "delete array[]" and "new contract" then "push",i thought this might save gas, at least the address of child contract is the same.
After testing,it turns out that it didn't save gas.
Then i realized probably it was "new contract" that costed too much gas,so i was wondering how to re-use those child contracts with different parameters and save gas in the mean time.
factory contract child contratc
By the way ,if there is no way to re-use child-contracts,can clone pattern? or did clone pattern save more gas than factory pattern?
My contract is meant to deploy a lot of child contracts (they have different addresses apparently) to mint NFT,so does clone patterns have different addresses of child contracts?Can it help me Achieve the goal?
10usdt reward to best answer,pls