Hey guys!
Is there any efficient solution to loop through 10K uint256[] array, which is in storage.
I know that make 10K SLOAD will cost ~8M gas.
Just trying to find the way how to solve such tasks
Jun 30, 2021, 4:28 PM
so it's not possible to make it less than 8M gas ?
yes but how will it help if anyway we need to make 10K reads in one call. You can split it to different mappings - but need to do reads anyway
?
Jun 30, 2021, 4:32 PM